libpng-1.2.29

Introduction to libpng

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

Package Information

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

Installation of libpng

Install libpng by running the following commands:

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

To test the results, issue: make check.

Now, as the root user:

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

Configuring libpng

Configuration Information

As with most libraries, there is no configuration to do, save that the library directory, i.e., /opt/lib or /usr/local/lib should appear in /etc/ld.so.conf so that ldd can find the shared libraries. After checking that this is the case, /sbin/ldconfig should be run while logged in as root.

Contents

Installed Programs: libpng-config and libpng12-config
Installed Libraries: libpng.so and libpng12.{so,a}
Installed Directory: /usr/include/libpng12 and /usr/share/doc/libpng-1.2.29

Short Descriptions

libpng-config

is a symlink to libpng12-config.

libpng12-config

provides configuration information for libpng.

libpng.so and libpng12.{so,a}

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 2008-07-09 11:49:35 -0500