From a4cb33740072d6be5c58b6897eb7b2a53d7ff5d1 Mon Sep 17 00:00:00 2001 From: Dan Nichilson Date: Fri, 23 Mar 2007 21:57:23 +0000 Subject: 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 --- chapter06/glibc.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chapter06/glibc.xml') 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: -- cgit v1.2.3-54-g00ecf