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.16.tar.bz2
Download MD5 sum: 7a1ca4f49bcffdec60d50f48460642bd
Download size: 624 KB
Estimated disk space required: 12 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.16 &&
install -v -m644 README libpng-1.2.16.txt \
/usr/share/doc/libpng-1.2.16
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-04-04 21:42:53 +0200