From 50f648b0eeb0297da4075efc596b4d553f927aa1 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 13 Apr 2011 03:42:50 +0000 Subject: Added optional instructions that explains how to add /etc/ld.so.conf.d as an include directory for the loader git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9496 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/glibc.xml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'chapter06') diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 7c8159272..9745908f5 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -370,13 +370,23 @@ EOF cat > /etc/ld.so.conf << "EOF" # Begin /etc/ld.so.conf - /usr/local/lib /opt/lib - -# End /etc/ld.so.conf + EOF + If desired, the dynamic loader can also search a directory and + include the contents of files found there. Generally the files in + this include directory are one line specifying the desired library path. + To add this capability run the following commands: + +cat >> /etc/ld.so.conf << "EOF" +# Add an include directory +include /etc/ld.so.conf.d/*.conf + +EOF +mkdir /etc/ld.so.conf.d + -- cgit v1.2.3-54-g00ecf