8.6.3. Contents of Zlib
Installed libraries:
libz.so
The Zlib package contains compression and decompression routines used by some programs.
Prepare Zlib for compilation:
./configure --prefix=/usr
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
Remove a useless static library:
rm -fv /usr/lib/libz.a
Clean previous build:
make distclean
Prepare Zlib for compilation:
CFLAGS+=" -m32" CXXFLAGS+=" -m32" \ ./configure --prefix=/usr \ --libdir=/usr/lib32
Compile the package:
make
Install the package:
make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR