|
@@ -41,9 +41,9 @@
|
|
<sect2 role="installation">
|
|
<sect2 role="installation">
|
|
<title>Installation of Zlib</title>
|
|
<title>Installation of Zlib</title>
|
|
|
|
|
|
- <para>Prepare Zlib for building the dynamic library:</para>
|
|
|
|
|
|
+ <para>Prepare Zlib for compilation:</para>
|
|
|
|
|
|
-<screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib</userinput></screen>
|
|
|
|
|
|
+<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
@@ -53,16 +53,16 @@
|
|
|
|
|
|
<screen><userinput remap="test">make check</userinput></screen>
|
|
<screen><userinput remap="test">make check</userinput></screen>
|
|
|
|
|
|
- <para>Install the shared library:</para>
|
|
|
|
|
|
+ <para>Install the package:</para>
|
|
|
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
|
|
|
|
- <para>The previous command installed a <filename
|
|
|
|
- class="extension">.so</filename> file in <filename
|
|
|
|
- class="directory">/lib</filename>. We will remove it and relink it into
|
|
|
|
- <filename class="directory">/usr/lib</filename>:</para>
|
|
|
|
|
|
+ <para>The shared library needs to be moved to
|
|
|
|
+ <filename class="directory">/lib</filename>, and as a result the
|
|
|
|
+ <filename class="extension">.so</filename> file in
|
|
|
|
+ <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">rm -v /lib/libz.so
|
|
|
|
|
|
+<screen><userinput remap="install">mv -v /usr/lib/libz.so* /lib
|
|
ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
|
|
ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
|
|
|
|
|
|
</sect2>
|
|
</sect2>
|