ldconfig.8: Note use of /lib64 and /usr/lib64 on some 64-bit architectures

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-03-12 11:22:44 +01:00
parent 1eae1168a8
commit d7d4b04ade
1 changed files with 15 additions and 11 deletions

View File

@ -57,10 +57,20 @@ creates the necessary links and cache to the most recent shared
libraries found in the directories specified on the command line,
in the file
.IR /etc/ld.so.conf ,
and in the trusted directories
.RI ( /lib
and in the trusted directories,
.I /lib
and
.IR /usr/lib ).
.IR /usr/lib
(on some 64-bit architectures such as x86-64,
.I lib
and
.IR /usr/lib
are the trusted directories for 32-bit libraries, while
.I /lib64
and
.IR /usr/lib64
are used for 64-bit libraries).
The cache is used by the run-time linker,
.I ld.so
or
@ -134,10 +144,7 @@ Intended for use by experts only.
.TP
.B \-n
Only process directories specified on the command line.
Don't process the trusted directories
.RI ( /lib
and
.IR /usr/lib )
Don't process the trusted directories,
nor those specified in
.IR /etc/ld.so.conf .
Implies
@ -188,10 +195,7 @@ in which to search for libraries.
File containing an ordered list of libraries found in the directories
specified in
.IR /etc/ld.so.conf ,
as well as those found in
.I /lib
and
.IR /usr/lib .
as well as those found in the trusted directories.
.PD
.SH SEE ALSO
.BR ldd (1),