aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-03-09 01:38:35 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-03-09 01:38:35 +0000
commita3b46b9a469287a79b930e491c7145374dd70da9 (patch)
tree8ad6f2cd677949896d59cc529ac74101e3a0e902 /chapter06
parent497fdf5c0fba0e53b7479a680e47982f69c88ca8 (diff)
added /opt/lib
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1681 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/config-ldso.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/chapter06/config-ldso.xml b/chapter06/config-ldso.xml
index b1c6b8b43..de4a9641b 100644
--- a/chapter06/config-ldso.xml
+++ b/chapter06/config-ldso.xml
@@ -9,9 +9,10 @@ by programs when you run them. However, if there are libraries in
directories other than <filename class="directory">/lib</filename> and
<filename class="directory">/usr/lib</filename>, you need to add them to
the <filename>/etc/ld.so.conf</filename> file in order for the dynamic
-loader to find them. One directory that is very common to contain
-additional libraries is <filename
-class="directory">/usr/local/lib</filename> so we add that directory to the
+loader to find them. Two directories that are commonly known to contain
+additional libraries are <filename
+class="directory">/usr/local/lib</filename> and <filename
+class="directory">/opt/lib</filename>, so we add those directories to the
dynamic loader's search path.</para>
<para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
@@ -21,6 +22,7 @@ following:</para>
# Begin /etc/ld.so.conf
/usr/local/lib
+/opt/lib
# End /etc/ld.so.conf
<userinput>EOF</userinput></screen></para>