lfs/chapter06/zlib-inst.xml
Gerard Beekmans f353a63bad Added CFLAGS to zlib defining -fPIC
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2284 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-01-06 16:04:14 +00:00

15 lines
460 B
XML

<sect2>
<title>Installation of Zlib</title>
<para>Install Zlib by running the following commands:</para>
<para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \
./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>