diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4fe1edb1c..4dd5be07a 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,11 @@ 2011-04-12 + + [bdubbs] - Added optional instructions to allow a user + to use an include directory to supplement ld.so.conf. Fixes + #2843. + [bdubbs] - Rewrote General Compilation Instructions using better docbook structures and clarified a couple of points. Fixes 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 +