appimage-builder icon indicating copy to clipboard operation
appimage-builder copied to clipboard

glibc error when running AppImage on older system

Open hwittenborn opened this issue 2 years ago • 2 comments

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?

hwittenborn avatar Dec 29 '22 11:12 hwittenborn

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.

azubieta avatar Jan 03 '23 17:01 azubieta

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.

hwittenborn avatar Jan 04 '23 01:01 hwittenborn