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 does not work on Alpine linux #88

Closed
weyrick opened this issue Apr 22, 2021 · 6 comments
Closed

AppImage does not work on Alpine linux #88

weyrick opened this issue Apr 22, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@weyrick
Copy link
Member

weyrick commented Apr 22, 2021

Hi Shannon, On Alpine linux (musl c) :
ldd ./pktvisor-x86_64-3.2.0.AppImage 
	/lib64/ld-linux-x86-64.so.2 (0x7f01ebc40000)
	libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f01ebc40000)
	libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f01ebc40000)
	libz.so.1 => /lib/libz.so.1 (0x7f01ebc26000)
	libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f01ebc40000)
Error relocating ./pktvisor-x86_64-3.2.0.AppImage: gnu_dev_makedev: symbol not found

This appears to be related to AppImage/AppImageKit#1015

@weyrick weyrick added the bug Something isn't working label Apr 22, 2021
@weyrick
Copy link
Member Author

weyrick commented Apr 22, 2021

Note that on e.g. Ubuntu:

ldd ./pktvisor-x86_64.AppImage
	not a dynamic executable

@probonopd
Copy link

glibc needs to be installed on Alpine Linux for AppImages to run.
At least until we can get them to work using https://git.adelielinux.org/adelie/gcompat/; it seems like AppImage/AppImageKit#1168 can be the key to this.

@weyrick weyrick closed this as completed Jul 6, 2023
@probonopd
Copy link

With the static runtime, glibc no longer needs to be installed on Alpine Linux to run an AppImage (if what is inside the AppImage is either bundling everything, or is statically linked, or consists of platform-independent interpreted code/scripts).

@weyrick
Copy link
Member Author

weyrick commented Jul 6, 2023

We've moved away from AppImage and now have static binaries.

@probonopd
Copy link

Just saying, if you put a static binary into an AppImage with the static runtime, then it can run on Alpine and other Linux distributions. (Why would one want to do such a thing? Maybe to bundle icons, translations, etc. alongside the application.)

@weyrick
Copy link
Member Author

weyrick commented Jul 6, 2023

Understood, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants