%general-entities; ]> $LastChangedBy$ $Date$ Libpng-&libpng-version; Libpng Introduction to Libpng The libpng package contains libraries used by other programs for reading and writing PNG files. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libpng-md5sum; Download size: &libpng-size; Estimated disk space required: &libpng-buildsize; Estimated build time: &libpng-time; Additional Downloads Required Patch to explicitly link libpng against system libraries: User Notes: Installation of Libpng Install libpng by running the following commands: patch -Np1 -i ../libpng-&libpng-version;-link_to_proper_libs-1.patch && make prefix=/usr ZLIBINC= \ ZLIBLIB= -f scripts/makefile.linux To test the results, issue: make -f scripts/makefile.linux test. Now, as the root user: make prefix=/usr install -f scripts/makefile.linux Command Explanations ZLIBINC=; ZLIBLIB=: This forces libpng to look for the Zlib includes and libraries in the default locations (/usr/include and /usr/lib respectively). -f scripts/makefile.linux: This points make at the Linux version of the Makefile as libpng doesn't use an Autoconf routine. Instead, it has various Makefiles for different platforms. Configuring Libpng Configuration Information Contents Installed Programs Installed Libraries Installed Directory libpng-config and libpng12-config libpng.{so,a} and libpng12.{so,a} /usr/include/libpng12 Short Descriptions libpng-config is a symlink to libpng12-config. libpng-config libpng12-config provides configuration information for libpng. libpng12-config libpng.{so,a} 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. libpng.{so,a}