The command is being run on NixOS 23.11 (NixOS 23.11.20240304.617579a as I write this, but has been consistent since the problematic executables were built).
The executable is compiled on Ubuntu 20.04.
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:
wget https://github.com/feenkcom/gtoolkit-vm/releases/download/v1.0.14/GlamorousToolkit-x86_64-unknown-linux-gnu.zip
unzip GlamorousToolkit-x86_64-unknown-linux-gnu.zip
cd bin
Find an interpreter (this is just for demo purposes, not production code):
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.