Changeset e7848c3 for chapter06/adjusting.xml
- Timestamp:
- 08/16/2014 04:32:00 PM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 9b26915
- Parents:
- 7e1a1f8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/adjusting.xml
r7e1a1f8 re7848c3 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.