%general-entities; ]> Zlib-&zlib-version; Zlib <para>The Zlib package contains compression and un-compression routines used by some programs.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.1 SBU</seg><seg>1.5 MB</seg></seglistitem> </segmentedlist> <segmentedlist> <segtitle>Zlib installation depends on</segtitle> <seglistitem><seg>Binutils, Coreutils, GCC, Glibc, Make, Sed</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Zlib Zlib is known to build its shared library incorrectly if CFLAGS is specified in the environment. If you are using your own CFLAGS variable, be sure to add the -fPIC directive to your CFLAGS for the duration of the below configure command, then remove it afterwards. 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 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 Installed libraries libz[a,so] Short description libz* libz* contains compression and un-compression functions used by some programs.