diff options
author | Dan Nichilson <dnicholson@linuxfromscratch.org> | 2007-03-23 21:57:23 +0000 |
---|---|---|
committer | Dan Nichilson <dnicholson@linuxfromscratch.org> | 2007-03-23 21:57:23 +0000 |
commit | a4cb33740072d6be5c58b6897eb7b2a53d7ff5d1 (patch) | |
tree | b9ca6b407cef1c2968fab23286e6681675f42802 /chapter06/glibc.xml | |
parent | e9a652b5f0811defdb3d22e1bb679d2781add0c2 (diff) |
Force ldd to use /bin/bash as it's Bash-specific
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7973 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r-- | chapter06/glibc.xml | 8 |
1 files changed, 8 insertions, 0 deletions
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> |