Details on this package are located in Section 10.26.2, “Contents of Zlib.”
The Zlib package contains compression and decompression routines used by some programs.
Prepare Zlib for compilation:
CC="gcc -isystem /usr/include ${BUILDN32}" \ CXX="g++ -isystem /usr/include ${BUILDN32}" \ LDFLAGS="-Wl,-rpath-link,/usr/lib32:/lib32 ${BUILDN32}" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib32
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/lib32
. We will move them into /lib32
and then recreate a link in /usr/lib32
:
mv -v /usr/lib32/libz.so.* /lib32 ln -sfv ../../lib32/$(readlink /usr/lib32/libz.so) /usr/lib32/libz.so
Details on this package are located in Section 10.26.2, “Contents of Zlib.”