diff --git a/man8/ldconfig.8 b/man8/ldconfig.8 index dc3f5132b..df04a78d7 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 ). +.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),