Information about ZLIB can be found on the ZLIB website. From the ZLIB home page:
"ZLIB - A Massively Spiffy Yet Delicately Unobtrusive Compression Library.ZLIB is not related to the Linux zlibc Compressing File-I/O Library. "
The ZLIB source code is available from the ZLIB website referenced above. You may want to check there for recent updates.
ZLIB can be used as a compression component in HDF5
Untar the ZLIB package:
tar -xvzf zlib-1.2.7.tar.gz cd zlib-1.2.7
env CC=pgcc ./configure --prefix=/usr/local
Build the code:
make >& make.log make check >& make_check.log
Finally, install the results.
sudo make install