Patchelf

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