MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU GLibC 32-bit HOME ZLib 32-bit »

ZLib 64-bit

Name: zlib 64-bit
Summary: A fast compression library
License: Zlib
Version: 1.3.1
URL: https://www.zlib.net/zlib-1.3.1.tar.xz

Average Build Time: 0.1 SBU
Used Install Space: 6.4 MiB

Configuration

To configure ZLib 64-bit for installation into the system, run the following command:

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --shared

Compilation and Installation

To compile ZLib 64-bit, run the following command:

make

Next, run the tests for the package:

make check

Finally, to install ZLib 64-bit, run the following command:

make install
rm -fv /usr/lib64/libz.a

NOTE: Do not delete the unpacked sources

Contents

Contents  
Installed Libraries libz.so
Navigation    
« GNU GLibC 32-bit HOME ZLib 32-bit »