Patchelf
Note
The documentation here, while meant for the old hlrn-tmod software stack, still applies reasonably well to the same software packages in the other software stacks.
a simple utility for modifying existing ELF executables and libraries.
Description
PatchELF is a simple utility for modifying existing ELF executables and libraries. In particular, it can do the following:
- Change the dynamic loader (“ELF interpreter”) of executables
- Change the RPATH of executables and libraries
- Shrink the RPATH of executables and libraries
Read more in the The github repository or the patchelf man page
Modules
module load patchelf