1CHRPATH(1)             change rpath/runpath in binaries             CHRPATH(1)
2
3
4

NAME

6       chrpath - change the rpath or runpath in binaries
7

SYNOPSIS

9       chrpath  [  -v | --version ] [ -d | --delete ] [ -r <path> |  --replace
10       <path> ] [ -c | --convert ] [ -l | --list ] [ -h | --help ] <program> [
11       <program> ... ]
12

DESCRIPTION

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

OPTIONS

19       -v | --version
20              Display program version number
21
22       -d | --delete
23              Delete current rpath or runpath setting
24
25       -c | --convert
26              Convert the rpath setting into a runpath setting
27
28       -r <path> | --replace <path>
29              Replace  current  rpath  or runpath setting with the path given.
30              The new path must be shorter or the same length as  the  current
31              path.
32
33       -k | --keepgoing
34              Do  not  fail  on  first error, but process all arguments before
35              returning the error.
36
37       -l | --list
38              List the current rpath or runpath (default)
39
40       -h | --help
41              Show usage information.
42

EXIT STATUS

44       0      If all operations were successful
45
46       >0     if one of the operations failed.  A failing operation terminates
47              the program unless -k is specified.
48
49

BUGS

51       This  program  cannot create an RPATH tag if the ELF does not have one,
52       and it can only replace an RPATH with one of equal or  shorter  length.
53       (Moving  ELF sections following a lengthened string table would be dif‐
54       ficult and error-prone at best, and is  sometimes  outright  impossible
55       due to issues like limited ranges in jump instructions.)
56
57

AUTHOR

59       The  chrpath  program  was  written  by  Petter Reinholdtsen <pere@hun‐
60       gry.com>, based on works by  Geoffrey  Keating  <geoffk@ozemail.com.au>
61       and Peeter Joot <peeterj@ca.ibm.com>.
62
63       This   manual   page   was   originally  written  by  Tollef  Fog  Heen
64       <tfheen@debian.org>, for the Debian GNU/Linux system (but may  be  used
65       by others).
66
67
68
69chrpath                           May 4, 2002                       CHRPATH(1)
Impressum