where is libQt5Widgets.so.5 ?
Unsolved
General and Desktop
-
Hi All,
I'm QTCreator to produce a program in Linux. Under creator my software runs fine. However when I move the executable to another directory I geterror while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory
I read online I need to package the libs with the program. However when I search my pc I can't find libQt5Widgets.so.5?
Can anyone advise where I find these?
Thanksldd Con* linux-gate.so.1 => (0xf7715000) libQt5Widgets.so.5 => not found libQt5Gui.so.5 => not found libQt5Core.so.5 => not found libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf756a000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf754c000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7391000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7344000) /lib/ld-linux.so.2 (0x56597000)
-
Yes I've found them. Stupidly had search folder set to /home.
Copied across, still didn't work.
By setting path you mean export PATH=$PATH: /usr/lib/x86_64-linux-gnu ?
Do I need to do this to get get it working for other people, eg add a sh to add paths to their system :s -
Use
LD_LIBRARY_PATH
. Or you can set them system wide usingldconfig
. -
@tony67 Please read http://doc.qt.io/qt-5/linux-deployment.html