A small utility to modify the dynamic linker and RPATH of ELF executables
- The Core Planners: chef-core-planners@chef.io
Binary package
Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.
To add core/patchelf as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/patchelf)
pkg_deps=(core/patchelf)
To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.
hab pkg install core/patchelf
» Installing core/patchelf
☁ Determining latest version of core/patchelf in the 'stable' channel
☛ Verifying core/patchelf/0.10/20200305225717
✓ Installed core/patchelf/0.10/20200305225717
★ Install of core/patchelf/0.10/20200305225717 complete with 1 new packages installed.
hab pkg binlink core/patchelf
» Binlinking patchelf from core/patchelf into /bin
★ Binlinked patchelf from core/patchelf/0.10/20200305225717 to /bin/patchelf
You can now use the binary as normal:
/bin/patchelf --help
or patchelf --help
syntax: patchelf
[--set-interpreter FILENAME]
[--page-size SIZE]
[--print-interpreter]
[--print-soname] Prints 'DT_SONAME' entry of .dynamic section. Raises an error if DT_SONAME doesn't exist
...