Ignore:
Timestamp:
Oct 17, 2015, 3:01:45 PM (9 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
sysvinit
Children:
baaf11d
Parents:
65db39d
git-author:
William Harrington <kb0iic@…> (10/17/15 15:01:41)
git-committer:
William Harrington <kb0iic@…> (10/17/15 15:01:45)
Message:

Update GLIBC from 2.21 to 2.22 and remove rttldir from config.cache.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/x86_64-64/glibc.xml

    r65db39d r877cfcd  
    4949    <filename class="directory">/lib</filename>:</para>
    5050
    51 <screen os="l6"><userinput>echo "libc_cv_rtlddir=/lib" &gt;&gt; config.cache
    52 echo "libc_cv_slibdir=/lib" &gt;&gt; config.cache</userinput></screen>
     51<screen os="l6"><userinput>echo "libc_cv_slibdir=/lib" &gt;&gt; config.cache</userinput></screen>
     52
     53    <para os="l7">Modify the <command>ldd</command> rewrite script to remove
     54    <filename class="directory">lib64</filename> and
     55    <filename class="directory">libx32</filename> from RTLDLIST.</para>
     56
     57<screen os="l8"><userinput>sed -i '/RTLDLIST/d' sysdeps/unix/sysv/linux/*/ldd-rewrite.sed</userinput></screen>
    5358
    5459    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    127132    xpointer="xpointer(//*[@os='t'])"/>
    128133
    129     <para>Now we can remove this symlink.  We also need to correct the <command>
    130     /usr/bin/ldd</command> script - if you look at this, you will see it references
    131     not only the 32-bit linker, but also /lib64 where it thinks the 64-bit linker
    132     is. The following <command>sed</command> will correct this:</para>
     134    <para>Now we can remove this symlink:</para>
    133135
    134     <screen><userinput>rm -v /lib/ld-linux.so.2
    135 sed -i.bak '/RTLDLIST/s%/ld-linux.so.2 /lib64%%' /usr/bin/ldd</userinput></screen>
    136 
    137     <para>Check the script to make sure the sed worked correctly, then delete
    138     the backup.</para>
    139 
    140     <screen><userinput>rm -v /usr/bin/ldd.bak</userinput></screen>
     136    <screen><userinput>rm -v /lib/ld-linux.so.2</userinput></screen>
    141137
    142138    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.