aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/zlib.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/zlib.xml')
-rw-r--r--chapter06/zlib.xml17
1 files changed, 7 insertions, 10 deletions
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml
index 23a4efb9e..798f3cb1f 100644
--- a/chapter06/zlib.xml
+++ b/chapter06/zlib.xml
@@ -33,8 +33,6 @@ afterwards.</para></note>
<para>To have the results tested, issue:
<userinput>make check</userinput>.</para>
-<screen><userinput>make check</userinput></screen>
-
<para>Install the shared library:</para>
<screen><userinput>make install</userinput></screen>
@@ -44,7 +42,7 @@ afterwards.</para></note>
./configure --prefix=/usr
make</userinput></screen>
-<para>To have the results tested, issue:
+<para>To have the results tested again, issue:
<userinput>make check</userinput>.</para>
<para>Install the static library:</para>
@@ -58,21 +56,20 @@ make</userinput></screen>
<para>It is good policy and common practice to place important libraries into
the <filename class="directory">/lib</filename> directory. This matters most
in scenarios where <filename class="directory">/usr</filename> is on a
-separate partition. Essentially, the run-time components of any libraries
-depended upon by programs in <filename class="directory">/bin</filename> or
+separate partition. Essentially, the run-time components of any libraries that
+are used by programs in <filename class="directory">/bin</filename> or
<filename class="directory">/sbin</filename> should reside in
<filename class="directory">/lib</filename> so that they are on the root
partition and available in the event of
<filename class="directory">/usr</filename> being inaccessible.</para>
-<para>Therefore we move the run-time components of the shared Zlib into
-<filename class="directory">/lib</filename> by issuing the following
-command:</para>
+<para>For the above reason we move the run-time components of the shared Zlib
+into <filename class="directory">/lib</filename>:</para>
<screen><userinput>mv /usr/lib/libz.so.* /lib</userinput></screen>
-<para>Now we need to fix up the <filename>/usr/lib/libz.so</filename> symlink
-because we just moved the location of the file it points to:</para>
+<para>Now we need to fix the <filename>/usr/lib/libz.so</filename> symlink
+because we just moved the file it points to:</para>
<screen><userinput>ln -sf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen>