chrpath changes, lists or removes the rpath or runpath setting in a binary. The rpath, or runpath if it is present, is where the runtime linker should look for the libraries needed for a program.

    1. OPTIONS
    2. -v | --version
    3. Display program version number
    4. -d | --delete
    5. Delete current rpath or runpath setting
    6. -c | --convert
    7. Convert the rpath setting into a runpath setting
    8. -r <path> | --replace <path>
    9. Replace current rpath or runpath setting with the path given. The new path must be shorter or the same length as the current path.
    10. -k | --keepgoing
    11. Do not fail on first error, but process all arguments before returning the error.
    12. -l | --list
    13. List the current rpath or runpath (default)
    14. -h | --help
    15. Show usage information.

    Bugs
    This program cannot create an RPATH tag if the ELF does not have one, and it can only replace an RPATH with one of equal or shorter length.