Unsolved why this message "/libQt5Core.so.5: no version information available " is showed?
-
Dear all,
Could you give me some suggestions? Thanks a lot.root@tegra-ubuntu:/home/ubuntu# ./SMPCodeReader_exe
./SMPCodeReader_exe: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: no version information available (required by ./SMPCodeReader_exe)
./SMPCodeReader_exe: /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5: no version information available (required by ./SMPCodeReader_exe)
./SMPCodeReader_exe: /usr/lib/arm-linux-gnueabihf/libQt5Multimedia.so.5: no version information available (required by ./SMPCodeReader_exe)
./SMPCodeReader_exe: /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5: no version information available (required by ./SMPCodeReader_exe)
./SMPCodeReader_exe: /usr/lib/arm-linux-gnueabihf/libjpeg.so.62: version `LIBJPEGTURBO_6.2' not found (required by /lib/libbardecode.so)
root@tegra-ubuntu:/home/ubuntu# ./SMPCodeReader_exeNote:
Dynamic section at offset 0x30ec0 contains 35 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libbardecode.so]
0x00000001 (NEEDED) Shared library: [libueye_api.so]
0x00000001 (NEEDED) Shared library: [libQt5Multimedia.so.5]
0x00000001 (NEEDED) Shared library: [libQt5Widgets.so.5]
0x00000001 (NEEDED) Shared library: [libQt5Gui.so.5]
0x00000001 (NEEDED) Shared library: [libQt5Core.so.5]
0x00000001 (NEEDED) Shared library: [libGLESv2.so.2]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x00000001 (NEEDED) Shared library: [ld-linux-armhf.so.3] -
@b108463 You are mixing different Qt libraries. More than likely ARM and x86/amd64 versions based on your ARM build. Just my guess as to why, but the reason is the mixing of libs. Could be Qt4 mixed with Qt5 too. Hard to tell from the info you've given.
-
@ambershark
Hi, thanks, I suffer one probelme,. I build my project with the 5.6.0 Qt package , the version of libQt5Core.so is libQt5Core.so.5.6.0. After I check my embedded platform , the version of libQt5Core.so is libQt5Core.so.5.2.1. Maybe the libaries vesion is not matched to casue this problem. right?
My question is how to solve this problem? Should I copy the libraries of 5.6.0 Qt package to my embedded platform? Does it have another easy or automatic way to fix this problem? or I need to do it manually. Thanks a lot, -
@b108463 said in why this message "/libQt5Core.so.5: no version information available " is showed?:
@ambershark
Hi, thanks, I suffer one probelme,. I build my project with the 5.6.0 Qt package , the version of libQt5Core.so is libQt5Core.so.5.6.0. After I check my embedded platform , the version of libQt5Core.so is libQt5Core.so.5.2.1. Maybe the libaries vesion is not matched to casue this problem. right?
My question is how to solve this problem? Should I copy the libraries of 5.6.0 Qt package to my embedded platform? Does it have another easy or automatic way to fix this problem? or I need to do it manually. Thanks a lot,Yep that version mismatch is exactly what is causing the issue. There are quite a few ways to deploy, check out the Qt docs on deploying for linux.
What I do is copy my libs into a lib directory so my app is formatted like so:
myappstart.sh bin/ myappbinary lib/ my libs including qt
Then in my
myappstart.sh
I setLD_LIBRARY_PATH
to use mylib
directory for my copy of Qt.There are many other ways to do this, I recommend checking the docs on deployment. :)
-
@ambershark Thanks, I copy the Qt libraries to my TK1 platform. most of errors are fixed. Currently, the only one prroblem is
./SMPCodeReader_exe: /usr/lib/arm-linux-gnueabihf/libjpeg.so.62: version `LIBJPEGTURBO_6.2' not found (required by /lib/libbardecode.so)I try to google it, but I could not find the solution.
Could anyone give me some suggestions? Thanks a lot. :) -
@b108463 said in why this message "/libQt5Core.so.5: no version information available " is showed?:
@ambershark Thanks, I copy the Qt libraries to my TK1 platform. most of errors are fixed. Currently, the only one prroblem is
./SMPCodeReader_exe: /usr/lib/arm-linux-gnueabihf/libjpeg.so.62: version `LIBJPEGTURBO_6.2' not found (required by /lib/libbardecode.so)I try to google it, but I could not find the solution.
Could anyone give me some suggestions? Thanks a lot. :)So on the machine that you can run the application on (your build machine) without needing a deployment, run
ldd yourapp
, it should show you the path to that library so you can install it with your application.I am not familiar with that one though so be careful of potential licensing issues with distribution. Getting sued isn't fun. ;)
If using ldd on your app doesn't show you, then you can use ldd on the library that is pulling it in, in this case /lib/libardecode.so. That should tell you.
And finally, you could always just use
find / -iname "libsjpeg.so*"
.