MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« LibB2 32-bit HOME LibArchive 32-bit »

LibArchive 64-bit

Name: LibArchive 64-bit
Summary: A library that provides a single interface for working with various compression formats
License: BSD 3-clause
Version: 3.8.4
URL: https://github.com/libarchive/libarchive/releases/download/v3.8.4/libarchive-3.8.4.tar.xz

Average Build Time: 0.3 SBU
Used Install Space: 4.5 MiB

Configuration

To configure LibArchive 64-bit for install into the build root, run the following command:

./configure --prefix=/usr                            \
            --libdir=/usr/lib64                      \
            --libexecdir=/usr/lib64                  \
            --docdir=/usr/share/doc/libarchive-3.8.4 \
            --disable-static

Compilation and Installation

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

make

Next, run the test suite:

make check

Finally, to install LibArchive 64-bit into the build tree, run the following commands:

make install
rm -fv /usr/lib64/libarchive.la
ln -sv bsdunzip /usr/bin/unzip

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Programs bsdcat, bsdcpio, bsdtar, and bsdunzip
Installed Libraries libarchive.so
Navigation    
« LZO 32-bit HOME LibArchive 32-bit »