linuxdeployqt icon indicating copy to clipboard operation
linuxdeployqt copied to clipboard

Error find libqxcb Ubuntu 14.04 + Qt 5.12.9 Compiled from source under docker

Open andreagen0r opened this issue 5 years ago • 8 comments

Hi, is there any workaround to this problem?

ERROR: findDependencyInfo: "ldd: /usr/local/Qt-5.12.9/plugins/platforms/libqxcb.so: No such file or directory\n"
ERROR: getBinaryRPaths: "objdump: '/usr/local/Qt-5.12.9/plugins/platforms/libqxcb.so': No such file\n"
ERROR: file copy failed from "/usr/local/Qt-5.12.9/plugins/platforms/libqxcb.so"
ERROR:  to "/home/TouchSettings/plugins/platforms/libqxcb.so"

andreagen0r avatar Sep 04 '20 16:09 andreagen0r

Does /usr/local/Qt-5.12.9/plugins/platforms/libqxcb.so exist? If not, where is libqxcb.so on your Qt-5.12.9 installation?

probonopd avatar Sep 04 '20 17:09 probonopd

Also, I'd be interested if the -s deploy option of https://github.com/probonopd/go-appimage/tree/master/src/appimagetool#appimagetool fares better in this situation.

probonopd avatar Sep 04 '20 17:09 probonopd

Is there a specific reason you need to compile Qt? linuxdeployqt is tested against https://launchpad.net/~beineri.

probonopd avatar Sep 04 '20 17:09 probonopd

I solved it, my Qt compilation was broken. But now I had some problem with libQt5DBu, when I try to run in another machine libQt5DBus.so.5: undefined symbol: dbus_message_set_allow_interactive_authorization, version LIBDBUS_1_3

andreagen0r avatar Sep 04 '20 19:09 andreagen0r

Is libdbus-1.so.3 getting bundled in your AppDir? (It should.)

What is the output of ldd appdir/path/to/libQt5DBus.so.5 | grep libdbus-1 after you have run linuxdeployqt?

probonopd avatar Sep 04 '20 20:09 probonopd

I got this

./lib/libQt5DBus.so.5: /home/TouchSettings/./lib/libdbus-1.so.3: no version information available (required by ./lib/libQt5DBus.so.5)
	libdbus-1.so.3 => /home/TouchSettings/./lib/libdbus-1.so.3 (0x00007f7ed87f2000)

andreagen0r avatar Sep 04 '20 20:09 andreagen0r

So it seems libdbus was bundled. Strange... Can you upload the AppImage for analysis? (If it is private, you can also mail me a link to probono at puredarwin dot org)

probonopd avatar Sep 04 '20 20:09 probonopd

I sent an email

andreagen0r avatar Sep 04 '20 21:09 andreagen0r