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

LD_LIBRARY_PATH leaks to appstreamcli #13

Open
wez opened this issue May 5, 2020 · 0 comments
Open

LD_LIBRARY_PATH leaks to appstreamcli #13

wez opened this issue May 5, 2020 · 0 comments

Comments

@wez
Copy link

wez commented May 5, 2020

When running on Fedora and including appstream metadata, the linuxdeploy appimage (indirectly?) attempts to run appstreamcli with the environment set to resolve glib from inside the appimage.
However, since it is running a binary installed by the host system, the LD_LIBRARY_PATH causes runtime linker errors for the glib symbols referenced by appstreamcli.

I've worked around this in wez/wezterm@90de55f by deploying a little appstreamcli wrapper script early in the PATH to clean its environment.

It would be great to resolve this correctly; I'd suggest either making sure that the plugin cleans the environment first, or alternatively, by bundling the needed utilities in the linuxdeploy appimage and running them from there.

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