AppImageCrafters / appimage-builder

GNU/Linux packaging solution using the AppImage format
MIT License
308 stars 58 forks source link

glibc error when running AppImage on older system #288

Open hwittenborn opened 1 year ago

hwittenborn commented 1 year ago

I've created an AppImage for my application which is built and created on Ubuntu 22.10, but whenever I attempt to run the binary on Ubuntu 22.04, I get the following output in my terminal, followed by my application not launching (sorry for posting a screenshot and not text, my VM didn't allow me to copy the text):

image

is there any reason that might be happening?

azubieta commented 1 year ago

Provably AppRun is not guess the glib version on the target system porperly and is making a bad decision on where to use the bundle glib or the system one. Just make sure that a glib binary is being bundle and also provide some information about the system were it's being build and tested.

hwittenborn commented 1 year ago

make sure that a glib binary is being bundle

How can I ensure that?

provide some information about the system were it's being build and tested

You can find the packaging on this commit: https://github.com/hwittenborn/celeste/commit/01161ba0300c7fdad31e7e329d063ca38a9ce534. I'm building on Ubuntu 22.10, and trying to test on Ubuntu 22.04. The command I'm using to build the package can be found in the justfile.

It needs some system dependencies during the AppImage packaging too, those can be found in makedeb/PKGBUILD.