Changeset 75128f91 for chapter06/adjusting.xml
- Timestamp:
- 08/15/2014 11:04:08 PM (10 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- ec61ca3
- Parents:
- 3ed5e23
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/adjusting.xml
r3ed5e23 r75128f91 47 47 readelf -l a.out | grep ': /lib'</userinput></screen> 48 48 49 <para os="b"> If everything is working correctly, there should be no errors,49 <para os="b">There should be no errors, 50 50 and the output of the last command will be (allowing for 51 51 platform-specific differences in dynamic linker name):</para> … … 60 60 <screen os="e"><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen> 61 61 62 <para os="f">If everything is working correctly, there should be no errors, 63 and the output of the last command will be:</para> 62 <para os="f">The output of the last command should be:</para> 64 63 65 64 <screen><computeroutput>/usr/lib/crt1.o succeeded … … 72 71 <screen><userinput>grep -B1 '^ /usr/include' dummy.log</userinput></screen> 73 72 74 <para os="h">This command should return successfully withthe following output:</para>73 <para os="h">This command should return the following output:</para> 75 74 76 75 <screen><computeroutput>#include <...> search starts here: … … 81 80 <screen os="j"><userinput>grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'</userinput></screen> 82 81 83 <para os="k">If everything is working correctly, there should be no errors, 84 and the output of the last command 85 will be:</para> 82 <para os="k">The output of the last command should be:</para> 86 83 87 84 <screen><computeroutput>SEARCH_DIR("/usr/lib") … … 92 89 <screen os="m"><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen> 93 90 94 <para os="n">If everything is working correctly, there should be no errors, 95 and the output of the last command (allowing for a lib64 directory on 64-bit hosts) 96 will be:</para> 91 <para os="n">The output of the last command (allowing for a lib64 directory 92 on 64-bit hosts) should be:</para> 97 93 98 94 <screen os="o"><computeroutput>attempt to open /lib/libc.so.6 succeeded</computeroutput></screen> … … 102 98 <screen os="q"><userinput>grep found dummy.log</userinput></screen> 103 99 104 <para os="r">If everything is working correctly, there should be no errors, 105 and the output of the last command will be (allowing for 106 platform-specific differences in dynamic linker name and a lib64 directory 107 on 64-bit hosts):</para> 100 <para os="r"> The output of the last command should be (allowing for 101 platform-specific differences in dynamic linker name and a lib64 directory on 102 64-bit hosts):</para> 108 103 109 104 <screen os="s"><computeroutput>found ld-linux.so.2 at /lib/ld-linux.so.2</computeroutput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.