-
Notifications
You must be signed in to change notification settings - Fork 411
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
Fails on Arch Linux with ERROR: Error stripping "libzstd.so" : "" (segfault) #608
Comments
That's interesting you got strip to work on archlinux, here on artix I couldn't get it to work on aynthing and that is normal I think, it is meant to be used on debian stable, there my same scripts have no issue when doing the strip. What I do is that I set |
Please provide details about your build environment (distribution, version, compiler, libc, etc.). Thanks! |
I have the same issue using linuxdeployqt (commit 8cb9438), build 67 on Ubuntu 24.04
|
So the solution would be to unset |
Please see whether the latest build fixes the issue. Thanks! |
Works great, thanks for the new build |
Here is the end of the output from a failing run of linuxdeployqt:
Information
OS: Arch Linux
This is the LD_LIBRARY_PATH set when calling strip, found by replacing /usr/bin/strip with a shell wrapper that dumps the environment:
Analysis
strip
can normally strip libzstd.so just fine, but because it links to libzstd.so and linuxdeploy sets LD_LIBRARY_PATH to include the localdata/lib
dir,strip
tries to strip one of its own loaded shared libs and segfaults:Suggestion
strip
does not crash when LD_LIBRARY_PATH is not set. Maybe LD_LIBRARY_PATH should only be set when callingldd
.The text was updated successfully, but these errors were encountered: