Can't find libQt5Core lib
Solved
Installation and Deployment
-
@SGaist I did copy for each needed alias, but nothing changes:
# export LD_LIBRARY_PATH=/ta_20190102115904/qt5lib # ls $LD_LIBRARY_PATH libQt5Core.so libQt5Gui.so libQt5Widgets.so libQt5Core.so.5 libQt5Gui.so.5 libQt5Widgets.so.5 libQt5Core.so.5.12.0 libQt5Gui.so.5.12.0 libQt5Widgets.so.5.12.0 # cd /ta_20190102115904 # ./qt_c ./qt_c: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: version `Qt_5' not found (required by ./qt_c)
Ok, I did remove system version:
# mv /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5 /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.orig # mv /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.5 /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.5.orig # mv /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.5.1 /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.5.1.orig # ./qt_c ./qt_c: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
(there is no alias /usr/lib/arm-linux-gnueabihf/libQt5Core.so)
All binaries have a right arch, I think:# file qt5lib/libQt5Core.so qt5lib/libQt5Core.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, for GNU/Linux 4.11.0, not stripped # file qt5lib/libQt5Core.so.5 qt5lib/libQt5Core.so.5: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, for GNU/Linux 4.11.0, not stripped # file qt5lib/libQt5Core.so.5.12.0 qt5lib/libQt5Core.so.5.12.0: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, for GNU/Linux 4.11.0, not stripped # file qt_c qt_c: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, not stripped
cross compiled Qt application don't want to use cross-compiled Qt libraries.
I don't understand what's wrong :(I'll try to use a previous version of the toolchain