Changeset 877cfcd for BOOK/final-system/x86_64-64
- Timestamp:
- Oct 17, 2015, 10:01:45 PM (9 years ago)
- Branches:
- sysvinit
- Children:
- baaf11d
- Parents:
- 65db39d
- git-author:
- William Harrington <kb0iic@…> (10/17/15 22:01:41)
- git-committer:
- William Harrington <kb0iic@…> (10/17/15 22:01:45)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/x86_64-64/glibc.xml
r65db39d r877cfcd 49 49 <filename class="directory">/lib</filename>:</para> 50 50 51 <screen os="l6"><userinput>echo "libc_cv_rtlddir=/lib" >> config.cache 52 echo "libc_cv_slibdir=/lib" >> config.cache</userinput></screen> 51 <screen os="l6"><userinput>echo "libc_cv_slibdir=/lib" >> 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> 53 58 54 59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 127 132 xpointer="xpointer(//*[@os='t'])"/> 128 133 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> 133 135 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> 141 137 142 138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.