libpng-1.5.7

Introduction to libpng

The libpng package contains libraries used by other programs for reading and writing PNG files.

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

Package Information

Additional Downloads

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

Installation of libpng

If you want to patch libpng to support apng files, apply the patch:

gunzip --stdout ../libpng-1.5.7-apng.patch.gz | patch -Np1

Install libpng by running the following commands:

./configure --prefix=/usr --disable-static &&
make

To test the results, issue: make check.

Now, as the root user:

make install &&

install -v -m755 -d /usr/share/doc/libpng-1.5.7 &&
install -v -m644    README libpng-manual.txt \
                    /usr/share/doc/libpng-1.5.7

Command Explanations

--disable-static: This option prevents it compiling the static archive versions of the libraries.

Contents

Installed Programs: libpng-config and libpng15-config
Installed Libraries: libpng.so and libpng15.so
Installed Directories: /usr/include/libpng15 and /usr/share/doc/libpng-1.5.7

Short Descriptions

libpng-config

is a symlink to libpng15-config.

libpng15-config

provides configuration information for libpng.

libpng.so and libpng15.so

are a collection of routines used to create and manipulate PNG format graphics files. The PNG format was designed as a replacement for GIF and, to a lesser extent, TIFF, with many improvements and extensions and lack of patent problems.

Last updated on 2012-01-10 12:47:26 +0000