MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« SGML Common HOME LZO 32-bit »

LZO 64-bit

Name: LZO 64-bit
Summary: A fast real-time compression and decompression library
License: GPL v2 or later
Version: 2.10
URL: https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz

Average Build Time: 0.3 SBU
Used Install Space: 880 KiB

Configuration

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

./configure --prefix=/usr            \
            --libdir=/usr/lib64      \
            --libexecdir=/usr/lib64  \
            --enable-shared          \
            --disable-static         \
            --docdir=/usr/share/doc/lzo-2.10

Compilation and Installation

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

make

Next, run the test suite:

make check
make test

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

make install
rm -fv /usr/lib64/liblzo2.la

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Libraries liblzo2.so
Navigation    
« SGML Common HOME LZO 32-bit »