diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 201d5a636..b98aedb99 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,11 @@ 2007-03-23 + + [dnicholson] - Force ldd to use + /bin/bash since it contains Bash-specific + syntax. + [dnicholson] - When readjusting the GCC specs file, ensure that GCC will search for the system headers in /usr/include. An 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 patch -Np1 -i ../&glibc-branch_update-patch; + The ldd shell script contains Bash-specific + syntax. Change it's default program interpreter to /bin/bash + in case another /bin/sh is installed as described in the + Shells + chapter of the BLFS book: + +sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in + The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory: