From a3b46b9a469287a79b930e491c7145374dd70da9 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 9 Mar 2002 01:38:35 +0000 Subject: added /opt/lib git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1681 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/config-ldso.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'chapter06') 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 /lib and /usr/lib, you need to add them to the /etc/ld.so.conf file in order for the dynamic -loader to find them. One directory that is very common to contain -additional libraries is /usr/local/lib so we add that directory to the +loader to find them. Two directories that are commonly known to contain +additional libraries are /usr/local/lib and /opt/lib, so we add those directories to the dynamic loader's search path. Create a new file /etc/ld.so.conf by running the @@ -21,6 +22,7 @@ following: # Begin /etc/ld.so.conf /usr/local/lib +/opt/lib # End /etc/ld.so.conf EOF -- cgit v1.2.3-54-g00ecf