mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-22 05:09:24 +01:00
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
This commit is contained in:
parent
e9a652b5f0
commit
a4cb337400
@ -39,6 +39,11 @@
|
||||
<listitem>
|
||||
<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
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user