zlib installations at NSC


Directory list:

VersionDescription
1.2.8 zlib library version 1.2.8

Level of support

Tier 3 NSC will not be able to help you much with this program, either because we lack the in-house experience, or because it is a test installation. In general, these types of installations are untested, and will not be updated unless you send a request to NSC.

Please see the page describing our software support categories for more information.
You can also contact support@nsc.liu.se for further information.

zlib is designed to be a free, general-purpose, lossless data-compression library for use on virtually any computer hardware and operating system. The zlib data format is itself portable across platforms.

How to use

Load the zlib module

module load zlib/1.2.8

The environment variable $ZLIB_DIR is set to:

/software/apps/zlib/1.2.8

$ZLIB_DIR points to the base folder containing the zlib installation. Sub-folders from $ZLIB_DIR:

include
lib
share

You can build applications against the zlib libraries using the include files in $ZLIB_DIR/include and pre-built libraries in $ZLIB_DIR/lib. e.g.

icc -I $ZLIB_DIR/include -L $ZLIB_DIR/lib