The libpng package contains libraries used by other programs for reading and writing PNG files.
Download (HTTP): http://downloads.sourceforge.net/libpng/libpng-1.2.12.tar.bz2
Download MD5 sum: 2287cfaad53a714acdf6eb75a7c1d15f
Download size: 621 KB
Estimated disk space required: 12.0 MB
Estimated build time: 0.3 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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.12 && install -v -m644 README libpng.txt /usr/share/doc/libpng-1.2.12
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.
Last updated on 2007-01-15 17:25:53 -0600