libgbm.so.2 => not found
-
Hi,
When i run my fresh built qt5.7 applications, it says libgbm.so.2 is missing.
I run ldd agains libEGL.so.1, and found libgmb.so.2 is not found.
the system has only libgbm.so.1, and I searched on google failed to find libgbm2.
please advise how to proceed.ldd /usr/lib/libEGL.so.1
linux-vdso.so.1 (0xbefe6000)
libdrm.so.2 => /usr/lib/arm-linux-gnueabihf/libdrm.so.2 (0xb6f5d000)
libgbm.so.2 => not found
libudev.so.1 => /lib/arm-linux-gnueabihf/libudev.so.1 (0xb6f46000)
libwayland-server.so.0 => /usr/lib/arm-linux-gnueabihf/libwayland-server.so.0 (0xb6f2c000)
libdrm_omap.so.1 => /usr/lib/arm-linux-gnueabihf/libdrm_omap.so.1 (0xb6f19000)
libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0xb6f03000)
libIMGegl.so.1 => /usr/lib/libIMGegl.so.1 (0xb6edd000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6ded000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6d79000)
/lib/ld-linux-armhf.so.3 (0x7f55e000)
librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb6d63000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6d3a000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6d16000)
libgbm.so.2 => not found
libsrv_um.so.1 => /usr/lib/libsrv_um.so.1 (0xb6cdd000)
libdbm.so.1 => /usr/lib/libdbm.so.1 (0xb6ccb000)
libgbm.so.2 => not found
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6cb7000)
libgbm.so.2 => not found -
@wweiradio Try creating a symbolic link to
libgbm.so.1
. -
I take a further look, I think the method works.
It turned out i have another problem. Seems that I need to change the compiler and recompile./usr/local/qt5/lib/libQt5Gui.so: undefined reference to
operator delete(void*, unsigned int)@CXXABI_1.3.9' /usr/local/qt5/lib/libQt5Gui.so: undefined reference to
operator delete[](void*, unsigned int)@CXXABI_1.3.9'