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, libraries found in the directories specified on the command line,
in the file in the file
.IR /etc/ld.so.conf , .IR /etc/ld.so.conf ,
and in the trusted directories and in the trusted directories,
.RI ( /lib .I /lib
and 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, The cache is used by the run-time linker,
.I ld.so .I ld.so
or or
@ -134,10 +144,7 @@ Intended for use by experts only.
.TP .TP
.B \-n .B \-n
Only process directories specified on the command line. Only process directories specified on the command line.
Don't process the trusted directories Don't process the trusted directories,
.RI ( /lib
and
.IR /usr/lib )
nor those specified in nor those specified in
.IR /etc/ld.so.conf . .IR /etc/ld.so.conf .
Implies Implies
@ -188,10 +195,7 @@ in which to search for libraries.
File containing an ordered list of libraries found in the directories File containing an ordered list of libraries found in the directories
specified in specified in
.IR /etc/ld.so.conf , .IR /etc/ld.so.conf ,
as well as those found in as well as those found in the trusted directories.
.I /lib
and
.IR /usr/lib .
.PD .PD
.SH SEE ALSO .SH SEE ALSO
.BR ldd (1), .BR ldd (1),