diff options
Diffstat (limited to 'chapter06')
-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 8c4721020..7c8159272 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -84,6 +84,14 @@ sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \ scripts/test-installation.pl unset DL</userinput></screen> + <para>In addition, there is a bug in the + <filename>test-installation.pl</filename> script in that it tries to link + a test program to a library that isn't installed by + <command>make install</command>. Issue the following <command>sed</command> + command to fix it:</para> + + <screen><userinput remap="pre">sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl</userinput></screen> + <para>The <command>ldd</command> shell script contains Bash-specific syntax. Change its default program interpreter to <command>/bin/bash</command> in case another <command>/bin/sh</command> is installed as described in the |