aboutsummaryrefslogtreecommitdiffstats
path: root/man8
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-03-12 11:22:44 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-03-15 09:53:02 +0100
commitd7d4b04ade2dc8aeedd52d24b4f1e7248fc5af16 (patch)
tree05a75218667077b1d15afb745be67e6d24a4e222 /man8
parent1eae1168a8466e40687715ee5f953a15789344dd (diff)
downloadman-pages-d7d4b04ade2dc8aeedd52d24b4f1e7248fc5af16.tar.gz
ldconfig.8: Note use of /lib64 and /usr/lib64 on some 64-bit architectures
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man8')
-rw-r--r--man8/ldconfig.826
1 files changed, 15 insertions, 11 deletions
diff --git a/man8/ldconfig.8 b/man8/ldconfig.8
index dc3f5132b0..df04a78d77 100644
--- a/man8/ldconfig.8
+++ b/man8/ldconfig.8
@@ -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
+(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/lib ).
+.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),