aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2002-09-22 02:06:55 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2002-09-22 02:06:55 +0000
commitf8decc78cf80a9e06be01a77254b4f0d009c2a9c (patch)
tree1bc506b213eabb686d610bdd76dc88290a1f7c43 /chapter06
parent88abb11b7ba3cb4619cb25f11fa63a65553f66d5 (diff)
mv shared zlib lib to /lib instead of using --libdir
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2123 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/zlib-inst.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml
index f979284bb..6c25a715c 100644
--- a/chapter06/zlib-inst.xml
+++ b/chapter06/zlib-inst.xml
@@ -3,10 +3,11 @@
<para>Install Zlib by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --libdir=/lib --shared &amp;&amp;
+<para><screen><userinput>./configure --prefix=/usr --shared &amp;&amp;
make LIBS="libz.so.1.1.4 libz.a" &amp;&amp;
make LIBS="libz.so.1.1.4 libz.a" install &amp;&amp;
+mv /usr/lib/libz.so.* /lib &amp;&amp;
+ln -sf ../../lib/libz.so.1 /usr/lib/libz.so &amp;&amp;
cp zlib.3 /usr/share/man/man3</userinput></screen></para>
</sect2>
-