10.21.2. Contents of Zlib
Installed libraries: libz.[a,so]
The Zlib package contains compression and decompression routines used by some programs.
Prepare Zlib for compilation:
CC="gcc -isystem /usr/include ${BUILD64}" \ CXX="g++ -isystem /usr/include ${BUILD64}" \ LDFLAGS="-Wl,-rpath-link,/usr/lib64:/lib64 ${BUILD64}" \ ./configure --prefix=/usr --libdir=/usr/lib64
Compile the package:
make
To test the results, issue:
make check
.
Install the package:
make install
The previous command installed two .so
files into /usr/lib64
. We will move it into
/lib64
and then relink it
to /usr/lib64
:
mv -v /usr/lib64/libz.so.* /lib64 ln -svf ../../lib64/libz.so.1 /usr/lib64/libz.so