libjpeg-turbo on CentOS 6.2 64-bit

Forum for questions and support relating to the 1.25.x releases only.
Locked
leyton01
Posts: 5
Joined: Mon Dec 26, 2011 11:53 am

libjpeg-turbo on CentOS 6.2 64-bit

Post 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
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: libjpeg-turbo on CentOS 6.2 64-bit

Post 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
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked