-
Notifications
You must be signed in to change notification settings - Fork 71
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
Having AppImage Launcher installed makes AppImages created with the Go runtime fail to start #242
Comments
@TheAssassin do you have an idea why this might be? Does AppImageLauncher make any particular assumptions about the runtime? E.g., does it make the assumption that the runtime is dynamically linked? |
Most likely an issue caused by static linking. Please tell me what the actual differences are to the one appimagetool embeds. |
In any case, @quyykk please open an issue over at AppImageLauncher and link it to this one. We can always close it. |
The runtime used in go-appimage is statically linked and hence does not like to be invoked through ld-linux. |
I know, but is this really the only change? |
It also uses zstd compression and may not have all |
Please provide a link to the code and, if separate, the build infra. I'll have a look. Short technical background: AppImageLauncher's |
https://github.com/probonopd/static-tools/tree/master/src/runtime
Yes, let's do that! |
So the quick fix is to quit linking libc statically. You can link libraries statically by selection. I think in your Makefile case (for the record, plain |
TheAssassin/AppImageLauncher#518 this issue seems to exist already |
AppImages created with this runtime fail to start if the AppImage Launcher is installed, which is less than ideal: endless-sky/endless-sky#7476
yet another log:
Uninstalling the AppImage Launcher makes the AppImage runnable again. A lot of distros ship with the launcher installed by default, so this is pretty problematic.
Thanks!
The text was updated successfully, but these errors were encountered: