I'm creating an AppImage for an older version of Qimgv because the current version in Kubuntu 25.04 has a bug in the video playback feature. The AppImage works fine on KDE Neon (an LTS), but I'm encountering an error on newer versions of Kubuntu. The error message states that it can't load the shared library `libopencv_imgproc.so.406`, even though I've tried bundling all the necessary dependencies. Here's the error I get when I run the AppImage:
`./Qimgv-x86_64.AppImage`
`/tmp/.mount_Qimgv-CZ02pO/usr/bin/qimgv: error while loading shared libraries: libopencv_imgproc.so.406: cannot open shared object file: No such file or directory`
2 Answers
It looks like you're missing some libraries on your system. You should run `ldd` on your binary to check for any missing libraries or incorrect versions. Make sure to include all of them in your AppImage.
You could also consider using Flatpak instead of messing with the AppImage. Just run the following commands:
`sudo apt install flatpak`
Then install Qimgv from Flathub:
`flatpak install flathub io.github.easymodo.qimgv`
Finally, run it using:
`flatpak run io.github.easymodo.qimgv`
This might bypass the library issues you're facing with the AppImage.

That doesn't really solve the AppImage issue I'm facing, though. I'm specifically trying to work with it in this case.