%general-entities; ]> Zlib-&zlib-version; Zlib <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.1 SBU</seg><seg>1.5 MB</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Zlib Prepare Zlib for compilation: ./configure --prefix=/usr --shared --libdir=/lib Compile the package: make To test the results, issue: make check. Install the shared library: make install Now we will remove the old, .so files in /lib and relink them into /usr/lib. rm /lib/libz.so ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so Now also build the non-shared (static) library: make clean ./configure --prefix=/usr make To again test the results, issue: make check. Install the static library: make install And fix the permissions on the static library: chmod 644 /usr/lib/libz.a Contents of Zlib See testing