aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter06/zlib-inst.xml5
2 files changed, 4 insertions, 4 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index c02ec1d2a..76f2219e8 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -60,8 +60,7 @@
</para></listitem>
<listitem><para>September 21st, 2002 [timothy]: Chapter 06 - Zlib:
-Added <userinput>--libdir=/lib</userinput> flag to
-<userinput>configure</userinput>.</para></listitem>
+<userinput>mv</userinput> shared lib to /lib.</para></listitem>
<listitem><para>September 20th, 2002 [timothy]: Chapter 05 - GCC:
Removed the <userinput>--enable-threads=posix</userinput> flag since we
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>
-