LZO-2.09

Introduction to LZO

LZO is a data compression library which is suitable for data decompression and compression in real-time. This means it favors speed over compression ratio.

This package is known to build and work properly using an LFS-7.7 systemd platform.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lzo

Installation of LZO

Install LZO by running the following commands:

./configure --prefix=/usr                    \
            --enable-shared                  \
            --disable-static                 \
            --docdir=/usr/share/doc/lzo-2.09 &&
make

To test the results, issue: make check; make test.

Now, as the root user:

make install

The shared library needs to be moved to /lib, and as a result the .so file in /usr/lib will need to be recreated. Run the following command as the root user:

mv -v /usr/lib/liblzo2.so.* /lib
ln -sfv ../../lib/$(readlink /usr/lib/liblzo2.so) /usr/lib/liblzo2.so

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: None
Installed Libraries: liblzo2.so
Installed Directories: /usr/include/lzo and /usr/share/doc/lzo

Short Descriptions

liblzo2.so

is a data compression and decompression library.

Last updated on 2014-09-12 08:27:59 +0200