Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage requires a version of glibc that is too new #1312

Open
mattyhewsi opened this issue Jan 26, 2025 · 1 comment
Open

AppImage requires a version of glibc that is too new #1312

mattyhewsi opened this issue Jan 26, 2025 · 1 comment
Labels
state:Backlog This issue will be worked on in the future type:Enhancement New feature or request

Comments

@mattyhewsi
Copy link

Is your feature request related to a problem? Please describe.
The appimage you provide does not contain the required lib binaries for the program to run.

Describe the solution you'd like
Package the required binaries with the appimage.

Additional context
This is a sample of the errors that running the appimage produces when you don't package them in the appimage (not firejail related):
/run/firejail/appimage/AppRun: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38' not found (required by /run/firejail/appimage/usr/bin/../lib/libvideo2x.so) /run/firejail/appimage/AppRun: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.32' not found (required by /run/firejail/appimage/usr/bin/../lib/libboost_program_options.so.1.83.0)
/run/firejail/appimage/AppRun: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.32' not found (required by /run/firejail/appimage/usr/bin/../lib/libavfilter.so.9) /run/firejail/appimage/AppRun: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38' not found (required by /run/firejail/appimage/usr/bin/../lib/libavfilter.so.9)
/run/firejail/appimage/AppRun: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38' not found (required by /run/firejail/appimage/usr/bin/../lib/librealesrgan-ncnn-vulkan.so) /run/firejail/appimage/AppRun: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38' not found (required by /run/firejail/appimage/usr/bin/../lib/librealcugan-ncnn-vulkan.so)
/run/firejail/appimage/AppRun: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38' not found (required by /run/firejail/appimage/usr/bin/../lib/librife-ncnn-vulkan.so) /run/firejail/appimage/AppRun: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38' not found (required by /run/firejail/appimage/usr/bin/../lib/libglslang.so.12)

@mattyhewsi mattyhewsi added the type:Enhancement New feature or request label Jan 26, 2025
@github-actions github-actions bot added the state:Backlog This issue will be worked on in the future label Jan 26, 2025
@k4yt3x
Copy link
Owner

k4yt3x commented Jan 26, 2025

AppImage usually uses the host's glibc instead of bundling its own libc. The issue you're having here is that either your host isn't using libc (e.g., musl), or your version of glibc is too old.

This is a known limitation since the AppImage was packaged on Ubuntu 24.04, which has a relatively new glibc. However, we also can't go back to using older versions of Ubuntu because then the other dependencies, like libavfilter, will be too old.

I thought about statically link glibc, but I haven't made it work yet.

@k4yt3x k4yt3x changed the title Appimage does not package required binaries AppImage requires a version of glibc that is too new Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:Backlog This issue will be worked on in the future type:Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants