linuxdeployqt icon indicating copy to clipboard operation
linuxdeployqt copied to clipboard

libdbus-1.so.3 needs to be excluded

Open coslyk opened this issue 5 years ago • 5 comments

I got this error when I run the AppImage built on Ubuntu 14.04:

$ ./MoonPlayer-v3.1-beta-x86_64.AppImage 
./MoonPlayer-v3.1-beta-x86_64.AppImage: relocation error: /tmp/.mount_MoonPlLrR8Gr/usr/plugins/platforms/../../lib/libQt5DBus.so.5: symbol dbus_message_get_allow_interactive_authorization version LIBDBUS_1_3 not defined in file libdbus-1.so.3 with link time reference

By excluding libdbus-1.so.3 manually I fixed this error.

I also see that libdbus-1-3 is listed on the https://github.com/AppImage/pkg2appimage/blob/master/excludedeblist.

coslyk avatar Feb 05 '20 16:02 coslyk

On which distribution and version are you running this AppImage?

probonopd avatar Feb 08 '20 09:02 probonopd

I build it on Ubuntu 14.04 with Qt 5.12.7 and run it on Debian 10.

coslyk avatar Feb 08 '20 09:02 coslyk

Possibly related to this? https://bugreports.qt.io/browse/QTBUG-69100

Where is the Qt version coming from that has been used on trusty to build this AppImage? Maybe the AppImage build needs to be updated to use xenial and a more recent Qt build for xenial, e.g., from https://launchpad.net/~beineri.

probonopd avatar Feb 08 '20 09:02 probonopd

Thanks for your information!

The Qt is installed with the official Qt online installer. I found a solution here: https://github.com/Subsurface-divelog/subsurface/blob/master/scripts/docker/trusty-qt512/Dockerfile#L57

coslyk avatar Feb 08 '20 21:02 coslyk

Did you end up shipping that libdbus inside the AppImage or did you just need it during compile time?

probonopd avatar Mar 14 '20 09:03 probonopd