aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter06/glibc.xml8
2 files changed, 13 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 201d5a636..b98aedb99 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -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
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 3354d7ef7..9184c88ee 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -87,6 +87,14 @@ mv glibc-libidn-&glibc-version; libidn</userinput></screen>
<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>