Skip to content

Support for previously defined LD_LIBRARY_PATH in AppImage runner#539

Open
fronald wants to merge 1 commit intoCrealityOfficial:masterfrom
Wiselabs:external_defined_library_path
Open

Support for previously defined LD_LIBRARY_PATH in AppImage runner#539
fronald wants to merge 1 commit intoCrealityOfficial:masterfrom
Wiselabs:external_defined_library_path

Conversation

@fronald
Copy link

@fronald fronald commented Feb 26, 2026

Description

The launcher (AppRun script) of the Linux AppImage was ignoring the existence of the pre-defined environment variable LD_LIBRARY_PATH. For example, on Fedora 43, the library libbz2.so.1.0 is not available, resulting in the error "error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory", which can be easily fixed by creating a link to the library and setting the LD_LIBRARY_PATH variable. However, the AppImage is overwriting the variable.

Screenshots/Recordings/Graphs

2026-02-26.13-55-02.mp4

Tests

The effectiveness has already been demonstrated in the video above.

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

Successfully merging this pull request may close these issues.

1 participant