Domanda

I am trying to install jpegoptim on a CentOS 6 server. I have downloaded and unpacked the package but when I try to run ./configure from the jpegoptim-1.3.0 directory I get an error that says:

"cannot find libjpeg or you have too old version (v6 or later required)."

I have checked and I have libjpeg-turbo install, which should supercede libjpeg. I have not been able to find anything on the net about this issue. What am I doing wrong?

Thanks, Rob

È stato utile?

Soluzione

The configure script is looking for jpeglib.h which is in the libjpeg-turbo-devel package.

Altri suggerimenti

You may want to use yum to help you with what you are looking for. The following may get you what you need:

yum search libjpeg
yum install libjpeg*

Note I have the epel repository installed on my system too. So if the above don't give you what you want, you may need to install the epel repository first.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top