-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections #546
Labels
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
|
This was referenced Sep 4, 2024
akgrant43
added a commit
to akgrant43/nixpkgs
that referenced
this issue
Sep 5, 2024
Changes: - Work around an issue with patchelf 0.12 and later by using patchelf 0.11 (see NixOS/patchelf#546) - Set "dontStrip = true" as patchelf 0.11 corrupts libWinit.so - Add dependencies for new library libWebView
akgrant43
added a commit
to akgrant43/nixpkgs
that referenced
this issue
Sep 5, 2024
Changes: - Work around an issue with patchelf 0.12 and later by using patchelf 0.11 (see NixOS/patchelf#546) - Set "dontStrip = true" as patchelf 0.11 corrupts libWinit.so - Add dependencies for new library libWebView - Add zenity to $PATH (used for GlamorousToolkit file open dialog)
13 tasks
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Attempting to patchelf a rust executable to run on NixOS and hitting the error from the subject:
A few notes:
I've seen previous issues opened about this (#217, #255, #400) however they don't appear to be the same.
Steps To Reproduce
Download and unzip GlamorousToolkit-cli:
Find an interpreter (this is just for demo purposes, not production code):
attempt to patch the exe:
The same issue occurs when attempting to to set the rpath.
Expected behavior
The executable is updated with the specified interpeter.
patchelf --version
outputand
Additional context
None.
The text was updated successfully, but these errors were encountered: