Author: dnicholson
Date: 2007-03-23 15:57:23 -0600 (Fri, 23 Mar 2007)
New Revision: 7973

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/glibc.xml
Log:
Force ldd to use /bin/bash as it's Bash-specific


Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2007-03-23 21:05:26 UTC (rev 7972)
+++ trunk/BOOK/chapter01/changelog.xml  2007-03-23 21:57:23 UTC (rev 7973)
@@ -40,6 +40,11 @@
       <para>2007-03-23</para>
       <itemizedlist>
         <listitem>
+          <para>[dnicholson] - Force <command>ldd</command> to use
+          <command>/bin/bash</command> since it contains Bash-specific
+          syntax.</para>
+        </listitem>
+        <listitem>
           <para>[dnicholson] - When readjusting the GCC specs file, ensure
           that GCC will search for the system headers in /usr/include. An
           addition to the toolchain sanity checks has been made to test

Modified: trunk/BOOK/chapter06/glibc.xml
===================================================================
--- trunk/BOOK/chapter06/glibc.xml      2007-03-23 21:05:26 UTC (rev 7972)
+++ trunk/BOOK/chapter06/glibc.xml      2007-03-23 21:57:23 UTC (rev 7973)
@@ -87,6 +87,14 @@
 
 <screen><userinput>patch -Np1 -i 
../&glibc-branch_update-patch;</userinput></screen>
 
+    <para>The <command>ldd</command> shell script contains Bash-specific
+    syntax. Change it's default program interpreter to 
<command>/bin/bash</command>
+    in case another <command>/bin/sh</command> is installed as described in the
+    <ulink url="&blfs-root;view/svn/postlfs/shells.html">Shells</ulink>
+    chapter of the BLFS book:</para>
+
+<screen><userinput>sed -i 's|@BASH@|/bin/bash|' 
elf/ldd.bash.in</userinput></screen>
+
     <para>The Glibc documentation recommends building Glibc outside of the 
source
     directory in a dedicated build directory:</para>
 

-- 
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