Kaynağa Gözat

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
Timothy Bauscher 23 yıl önce
ebeveyn
işleme
f8decc78cf
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 1 2
      chapter01/changelog.xml
  2. 3 2
      chapter06/zlib-inst.xml

+ 1 - 2
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

+ 3 - 2
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>
-