Open CyberLeo opened 1 year ago
If you are really running Xorg, then qFlipper should not need this library. Otherwise it must be installed in the system (via the package manager).
Could you please try running it with this command:
./qFlipper-x86_64-1.3.0.AppImage gui -platform xcb
and see if it does start?
I am definitely not running wayland, and have no wayland libraries installed.
It looks like the dynamic linker is considering libwayland-egl.so.1 a mandatory dependency for usr/bin/qFlipper and is bailing out when it cannot be found.
Perhaps there's a way to make it an optional or runtime dependency at build time instead?
(e7f194dd)cyberleo@arba ~/download $ ./qFlipper-x86_64-1.3.0.AppImage gui -platform xcb
/tmp/.private/cyberleo/.mount_qFlippTj6CDP/usr/bin/qFlipper: error while loading shared libraries: libwayland-egl.so.1: cannot open shared object file: No such file or directory
No change.
I've probably got an idea of what happened. The latest release is the first one to support wayland in the AppImage version, and to avoid the problems coming from distributing the necessary platform plugins, we packaged qFlipper as a statically linked application. Which, in hindsight, made both Xcb and Wayland hard dependencies. It's rather surprising there were no bug reports about it all this time.
I'll have to think whether to revert to dynamic linking with Qt or to employ some trickery to make this work without redundant system libraries.
First and foremost, thank you for your interest in making qFlipper better by reporting bugs!
Describe the bug A freshly downloaded copy of qFlipper-x86_64-1.3.0.AppImage fails to run. The previous version 1.2.2 runs fine.
To Reproduce Steps to reproduce the behavior:
Expected behavior qFlipper should launch and show its interface.
Actual behavior The following error message appears in the terminal and the program ends:
/tmp/.private/cyberleo/.mount_qFlippVUDmNB/usr/bin/qFlipper: error while loading shared libraries: libwayland-egl.so.1: cannot open shared object file: No such file or directory
Additional troubleshooting
The report must also include at least one of the following:
qFlipper never starts, so there are no logs nor windows generated.
Additional context Gentoo GNU/Linux profile amd64/17.1, OpenRC, Xorg.