Page 1 of 1

libjpeg-turbo on CentOS 6.2 64-bit

Posted: Fri Dec 30, 2011 4:40 pm
by leyton01
Can someone please help me out with the commands needed to install libjpeg-turbo on CentOS 6.2.

I followed the CentOS guide in the wiki but it doesn't list how to install libjpeg-turbo.
I tried the steps listed here:
http://www.zoneminder.com/forums/viewto ... 29&t=18598

but have had no success

The command:
rpm -q --whatprovides libjpeg
shows
libjpeg-6b-46.el6.x86_64


Many thanks

Re: libjpeg-turbo on CentOS 6.2 64-bit

Posted: Fri Jan 20, 2012 9:40 pm
by knight-of-ni
Download the appropriate RPM from the libjpeg-turbo website:
http://sourceforge.net/projects/libjpeg-turbo/

As root, install it:

Code: Select all

rpm -i libjpeg-turbo-1.1.90.x86_64.rpm
Now create the file /etc/ld.so.conf.d/libjpeg-turbo.conf as instructed in the wiki, and add this line to it:

Code: Select all

/opt/libjpeg-turbo/lib64
As root, run:

Code: Select all

ldconfig
Restart the apache and zoneminder zervices.

To verify your system is using libjpeg-turbo, as root:

Code: Select all

lsof |grep libjpeg