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

makers/AppImage: LD_LIBRARY_PATH poorly configured in AppRun #139

Open
servusdei2018 opened this issue Aug 21, 2023 · 0 comments
Open

makers/AppImage: LD_LIBRARY_PATH poorly configured in AppRun #139

servusdei2018 opened this issue Aug 21, 2023 · 0 comments

Comments

@servusdei2018
Copy link

Currently, the AppRun configured in generated AppImages is:

String get appRunContent {
return '''
#!/bin/bash
cd "\$(dirname "\$0")"
export LD_LIBRARY_PATH=usr/lib
exec ./$appName
''';

Linux distributions do things pretty differently, but generally libraries are found in usr/lib, usr/lib64, or less commonly, usr/lib32. Therefore, it is very problematic that the default script completely ignores LD_LIBRARY_PATH and overwrites it with a naively assumed directory.

There has been related discussion regarding this in AppImageKit: (AppImage/AppImageKit#126).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant