|
@@ -84,8 +84,7 @@ mv glibc-libidn-&glibc-version; libidn</userinput></screen>
|
|
|
test would be carried out against the wrong Glibc. We can force the script
|
|
|
to check the Glibc we have just installed with the following:</para>
|
|
|
|
|
|
-<screen><userinput remap="pre">DL=$(readelf -l /bin/sh | grep interpreter | \
|
|
|
-awk '{print $4}' | sed -e 's@/tools@@' -e 's@]$@@')
|
|
|
+<screen><userinput remap="pre">DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
|
|
|
sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \
|
|
|
scripts/test-installation.pl
|
|
|
unset DL</userinput></screen>
|