-
Notifications
You must be signed in to change notification settings - Fork 261
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
Make the executables' RUNPATH
relative instead of absolute
#996
Comments
rtx does not create python runtimes. That is done by python-build. |
The same issue occurs e.g. with ruby, which is an rtx core plugin, or? Anyway, instead of reaching out to each individual plugin authors, maybe rtx could do some post-processing on ELFs to consistently patch them to use relative |
for ruby the issue is inside of ruby-build, not the core plugin |
FYI, this is the post-processing I'm now doing:
This works better than expected, so I'm going to close this. |
Executables created by
rtx
seem to set the ELF'sRUNPATH
to an absolute path inside$RTX_DATA_DIR/installs
, see e.g.This hurts relocating e.g. ~/.local/share/rtx/installs/python to somewhere else as SO files would not be found anymore, also see #512.
To solve this, could
RUNPATH
be set to a relative path instead?The text was updated successfully, but these errors were encountered: