ksnip
ksnip copied to clipboard
include libqt5x11extras5 as dependency for .deb installer
Describe the bug
A fresh install of ksnip 1.9.2 from .deb on a fresh install of Ubuntu 20.04 wouldn't open the app. Running ksnip in the terminal revealed that it couldn't find the shared library libQt5X11Extras.so.5:
ksnip: error while loading shared libraries: libQt5X11Extras.so.5: cannot open shared object file: No such file or directory
This library is made available by the package libqt5x11extras5, and installing it with sudo apt install libqt5x11extras5 fixed the problem.
Could we include libqt5x11extras5 as a dependency for the .deb installer? The size of the dependency was negligible for me (10 KB).
To Reproduce Steps to reproduce the behavior:
- Install ksnip 1.9.2 (not tested with other versions) on Ubuntu 20.04
- Try to open the app
- App does not open
- Try starting it from terminal by running the
ksnipcommand - Error message about
libQt5X11Extras.so.5not found
Expected behavior App opens normally, and installer has the correct dependencies.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Linux
- Distribution: Ubuntu 20.04.4 LTS 64-bits
- ksnip version: 1.9.2
- How did you install ksnip: .deb
Extra info Not sure if this matters at all, but I realised I had installed Anaconda not long before, and a search for the library showed me these results:
/home/stragu/anaconda3/lib/libQt5X11Extras.so
/home/stragu/anaconda3/pkgs/qt-5.9.7-h5867ecd_1/lib/libQt5X11Extras.so
Yeah, that should be doable, need to have a look into it.
Same issue here. I tried to install QT to fix it. nothing worked.
After having a discussion with some KDE developers I decided to discontinue the .deb and .rpm installers in the long run, probably the next minor version 1.11.0 wont have it anymore. The reason being that we currently have a dependency clash with two KDE applications that cannot be resolved because ksnip and those two applications bring different kImageAnnotator versions and installing one, break the other. We should leave the .deb and .rpm packaging to the repos and provide only bundled installers like AppImage, Flatpak or Snap, which we all support. If someone is looking for .dep or .rpm installations, should check their repo, ksnip should be supported by now by all major distros.