patchelf
patchelf copied to clipboard
A small utility to modify the dynamic linker and RPATH of ELF executables
**Is your feature request related to a problem? Please describe.** Using the rpath arguments (e.g. `--add-rpath`), patchelf can override the location of libraries. However, libraries have other ways of depending...
If a wrong path exists in section headers of a binary program, how to substitue it with correct path? I try to `patchelf --set-interpreter` its interpreter then `sed` the path,...
On current `staging-next` iteration quite a few emacs-dependent packages are failing. The failures seem to stem from the fact that `emacs` is incorrectly modified by `patchelf-0.17.2` (`0.15.0` works, bisected in...
`patchelf --add-needed libX Y && patchelf --add-needed libX Y` will add `libX` twice. The same goes for `patchelf --add-rpath`. It would be very handy if there were a way to...
The buildroot project wants to make the SDK (toolchain) tree relocatable allowing to install it at any location. Furthermore, the target root file system trees needs ELF file sanitation to...
Towards getting reproducers/non-regression tests for #492 which is OS dependent.
**Describe the bug** Just encountered an issue with patchelf 0.17.0... I build AppImages for my Python application, and in order to do that I'm using Python's official manylinux docker images...
Thank you! Please do your best to include [a regression test](https://github.com/NixOS/patchelf/blob/master/tests/build-id.sh) so that the quality of future releases can be preserved.
I'm marking this as a draft PR because the main goal is to provide basis to think and discuss. The change is too agressive and so it's wiser to discuss...