Changeset 71cd9de for BOOK/final-system/x86_64-64
- Timestamp:
- Oct 17, 2015, 3:01:41 PM (9 years ago)
- Branches:
- master, systemd
- Children:
- 9b4ea58
- Parents:
- e869c0f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/x86_64-64/glibc.xml
re869c0f r71cd9de 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.