libz

A Massively Spiffy Yet Delicately Unobtrusive Compression Library

General Information

The HLRN system does not meet the requirements of some software and a separate zlib-library is provided.

Read more on the vendor pages.

VersionCompilerBuild dateInstallation Pathmodulefile
1.2.11gcc-822-jan-2020/sw/tools/zlib/<version>zlib/gcc.8/1.2.11
1.2.13gcc-928-jul-2023/sw/tools/zlib/<version>zlib/gcc.8/1.2.13
intel-2228.-jul-2023/sw/tools/zlib/<version>zlib/intel.22/1.2.13 

For some more information consult the man-page.

Usage at HLRN

Load the modulefile

$ module load zlib

This provides access to the script pkg-config that can be used to explore details of the library installation.  The environment variable LD_RUN_PATH is set to make linking with rpath easy.

Building zlib

Installation includes

  • download from web page
  • load a compiler module file
  • run configure. Use --prefix=<install_path>.
  • run make, make test and make install.