I am trying to set RUNPATH
within executables, including shared libraries, which will run on Rocky Linux 9. Using patchelf
on Centos 7 works fine, but I am having trouble finding a version to use on Rocky 9.
On Rocky 9, when I perform $ sudo dnf provides patchelf
, I get Error: No Matches found
.
On Centos 7, I am able to install patchelf
on Centos 7 successfully - sudo yum provides patchelf
returns patchelf-0.12-1.el7.x86_64
.
Alternatively, is there another tool available on Rocky 9 to change RUNPATH
in a Linux executable?
My next step is to clone https://github.com/NixOS/patchelf
and build on Rocky 9, but I am wondering why patchelf
is not available on Rocky 9 in the first place.