glibc: don't mention "/lib" as ld.so search path anymore

Text change only.

Since 11.0, /lib is a symlink to usr/lib.  With libc_cv_slibdir=/usr/lib,
/lib won't be searched by default anymore (if someone mess up the system
by removing /lib symlink and create an real directory there, for example
the initramfs before r10.1-439).
This commit is contained in:
Xi Ruoyao 2022-08-24 23:42:27 +08:00
parent 098f4de336
commit 85cdcb0980
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -448,10 +448,9 @@ unset ZONEINFO</userinput></screen>
<para>By default, the dynamic loader (<filename
class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
<filename class="directory">/lib</filename> and <filename
class="directory">/usr/lib</filename> for dynamic libraries that are
needed by programs as they are run. However, if there are libraries in
directories other than <filename class="directory">/lib</filename> and
<filename class="directory">/usr/lib</filename> for dynamic libraries
that are needed by programs as they are run. However, if there are
libraries in directories other than
<filename class="directory">/usr/lib</filename>, these need to be added
to the <filename>/etc/ld.so.conf</filename> file in order for the
dynamic loader to find them. Two directories that are commonly known