%general-entities; ]> Zlib-&zlib-version; Zlib <para>The Zlib package contains compression and decompression routines used by some programs.</para> <segmentedlist> <segtitle>&dependencies;</segtitle> <seglistitem> <seg>Binutils, Coreutils, GCC, Glibc, Make, and Sed</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Zlib This patch will add -fPIC to our build and allow us to build a static and shared library at the same time: patch -Np1 -i ../&zlib-fpic-patch; Prepare Zlib for compilation: ./configure --prefix=/usr --shared Compile the package: make To test the results, issue: make check. Installation: make install The previous command installed a .so file in /usr/lib. We will remove itinto /lib and then relink it to /usr/lib: mv /usr/lib/libz.so.* /lib ln -sf ../../lib/libz.so.1 /usr/lib/libz.so Now we fix the permissions on the static library: chmod 644 /usr/lib/libz.a Contents of Zlib Installed libraries libz.[a,so] Short Descriptions libz Contains compression and decompression functions used by some programs libz