The libjpeg package contains libraries that allow compression of image files based on the Joint Photographic Experts Group standard. It is a "lossy" compression algorithm.
Download (HTTP): http://www.ijg.org/files/jpegsrc.v6b.tar.gz
Download (FTP): ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
Download MD5 sum: dbd5f3b47ed13132f04c685d608a7547
Download size: 599 KB
Estimated disk space required: 4.6 MB
Estimated build time: 0.2 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libjpeg
Install libjpeg by running the following commands:
./configure --prefix=/usr --enable-static --enable-shared && make
To test the results, issue: make test.
Now, as the root user:
make install
--enable-static
--enable-shared: These switches tell libjpeg to build both shared and static
libraries.
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