Ignore:
Timestamp:
08/08/2007 06:22:29 AM (17 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
742cc9ae
Parents:
f372d5a
Message:

Made the change to Glibc's test-installation.pl script architecture independent

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8292 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    rf372d5a r27a7dd9  
    7979    to check the Glibc we have just installed with the following:</para>
    8080
    81 <screen><userinput>sed -i \
    82 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux-x86-64.so.2 -o|' \
    83         scripts/test-installation.pl</userinput></screen>
     81<screen><userinput>DL=$(readelf -l /bin/sh | grep interpreter | \
     82awk '{print $4}' | sed -e 's@/tools@@' -e 's@]$@@')
     83sed -i &quot;s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|&quot; \
     84        scripts/test-installation.pl
     85unset DL</userinput></screen>
    8486
    8587    <para>The <command>ldd</command> shell script contains Bash-specific
Note: See TracChangeset for help on using the changeset viewer.