The patchelf package contains a small utility to modify the dynamic linker and RPATH of ELF executables.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://github.com/NixOS/patchelf/releases/download/0.17.2/patchelf-0.17.2.tar.gz
Download MD5 sum: 63e6f761af0bfda2bfe08a568d1e2e76
Download size: 240 KB
Estimated disk space required: 16 MB (with tests)
Estimated build time: 0.1 SBU (with tests)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/patchelf
Install patchelf by running the following commands:
./configure --prefix=/usr \ --docdir=/usr/share/doc/patchelf-0.17.2 && make
To test the results, issue: make check.
Now, as the root
user:
make install