]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ldconfig.8: Note use of /lib64 and /usr/lib64 on some 64-bit architectures
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 12 Mar 2015 10:22:44 +0000 (11:22 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 15 Mar 2015 08:53:02 +0000 (09:53 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man8/ldconfig.8

index dc3f5132b0a2508289c9f5753e4836081f81cc97..df04a78d77979c5b9a7a7cc31fb90cf7924d9e26 100644 (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
+(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),