Author: bdubbs
Date: 2011-04-12 21:42:50 -0600 (Tue, 12 Apr 2011)
New Revision: 9496

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/glibc.xml
Log:
Added optional instructions that explains how to add 
/etc/ld.so.conf.d as an include directory for the loader

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2011-04-13 03:15:41 UTC (rev 9495)
+++ trunk/BOOK/chapter01/changelog.xml  2011-04-13 03:42:50 UTC (rev 9496)
@@ -40,6 +40,11 @@
       <para>2011-04-12</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Added optional instructions to allow a user
+          to use an include directory to supplement ld.so.conf.  Fixes
+          <ulink url="&lfs-ticket-root;2843">#2843</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Rewrote General Compilation Instructions using
           better docbook structures and clarified a couple of points. Fixes
           <ulink url="&lfs-ticket-root;2725">#2725</ulink>.</para>

Modified: trunk/BOOK/chapter06/glibc.xml
===================================================================
--- trunk/BOOK/chapter06/glibc.xml      2011-04-13 03:15:41 UTC (rev 9495)
+++ trunk/BOOK/chapter06/glibc.xml      2011-04-13 03:42:50 UTC (rev 9496)
@@ -370,13 +370,23 @@
 
 <screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
 <literal># Begin /etc/ld.so.conf
-
 /usr/local/lib
 /opt/lib
-
-# End /etc/ld.so.conf</literal>
+</literal>
 EOF</userinput></screen>
 
+  <para>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:</para>
+
+<screen role="nodump"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
+<literal># Add an include directory
+include /etc/ld.so.conf.d/*.conf
+</literal>
+EOF
+mkdir /etc/ld.so.conf.d</userinput></screen>
+
   </sect2>
 
   <sect2 id="contents-glibc" role="content">

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to