For installation instructions see the Section called Installing Zlib-1.1.4 in Chapter 6.
Zlib (1.1.4):
http://www.gzip.org/zlib/
Zlib Vsnprintf Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/zlib-1.1.4-vsnprintf.patch
The Zlib package contains the libz library, which is used by some programs for its compression and uncompression functions.
Installed libraries: libz[a,so]
libz* contains compression and uncompression functions used by some programs.
Zlib depends on: Binutils, Coreutils, GCC, Glibc, Make, Sed.