Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing libxcb-xinerama0 breaks an AppImage #562

Open
cryptozoidberg opened this issue Jan 17, 2023 · 1 comment
Open

missing libxcb-xinerama0 breaks an AppImage #562

cryptozoidberg opened this issue Jan 17, 2023 · 1 comment

Comments

@cryptozoidberg
Copy link

cryptozoidberg commented Jan 17, 2023

I'm having a problem with generating AppImage for my qtWebEngine-based app using linuxdeployqt: I was following Custom wrapper script instead of AppRun instructions, and the script was working pretty much fine, resulted AppImage was launching on the machine that generated it and was working just fine. When i've put this AppImage to new Ubuntu 22.04, the launch was failed with this errors:

QFactoryLoader::QFactoryLoader() checking directory path "/home/roky/Downloads/ZanoApp/usr/bin/platforms" ...
Cannot load library /home/roky/Downloads/ZanoApp/usr/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/home/roky/Downloads/ZanoApp/usr/plugins/platforms/libqxcb.so" : "Cannot load library /home/roky/Downloads/ZanoApp/usr/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

After quick googling i found out that most of the solutions is recommend to install missing library on the user's machine(which worked fine too in my case):
sudo apt-get install libxcb-xinerama0

Obviously installing thirdparty lib might not be suitable for users, so I was wondering if there are any solution for this, or did i make something wrong in the build script?
(App image available under this link: https://build.zano.org/builds/zano-linux-x64-release-devtools-v1.5.0.144[a4c332e].AppImage in case someone willing to look at it)

@probonopd
Copy link
Owner

Good question why it is not bundled in the first place.
This library is not on the excludelist, so at least in theory it should get bundled. The question is why that doesn't happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants