Wrong JPEG library version: library is 62, caller expects 80

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
ROBIN
Posts: 1
Joined: 2013-03-18T23:48:24-07:00
Authentication code: 6789

Wrong JPEG library version: library is 62, caller expects 80

Post by ROBIN »

Hello There,
I have followings:
Ubuntu 12.04
XAMPP for Linux 1.8.1
PHP Version 5.4.7
imagick module version: 3.1.0RC2
ImageMagick version: ImageMagick 6.6.9-7 2012-08-17 Q16

When ran my First imagick Program I am encountered with the following error:
Fatal error: Uncaught exception 'ImagickException' with message 'Wrong JPEG library version: library is 62, caller expects 80

I've also tried to Install a stable version(3.0.1) of imagick module, But I am unable to install this version. I thought maybe 3.0.1 isn't compatible with PHP 5.4.7.
Following is the error Message while installing 3.0.1
/tmp/pear/temp/imagick/imagick_class.c:9534:2: error: 'struct _php_core_globals' has no member named 'safe_mode'
/tmp/pear/temp/imagick/imagick_class.c:9534:2: error: 'CHECKUID_CHECK_FILE_AND_DIR' undeclared (first use in this function)
/tmp/pear/temp/imagick/imagick_class.c:9534:2: error: 'CHECKUID_NO_ERRORS' undeclared (first use in this function)
make: *** [imagick_class.lo] Error 1
ERROR: `make' failed

I was doing the following for installing 3.0.1 for the Stable Release:
sudo apt-get install imagemagick libmagickwand-dev
sudo pecl install imagick

Its been three and half week I am searching on Web. But couldn't found something useful.
So can anyone help me to rid away form the Wrong JPEG library version: library is 62, caller expects 80 error
Or to install the Stable version like a charm.
Just want to install imagick on my local machine, No matter, how ?
joe44850
Posts: 2
Joined: 2013-07-15T12:46:57-07:00
Authentication code: 6789

Re: Wrong JPEG library version: library is 62, caller expect

Post by joe44850 »

Did anyone ever help you with this? I am having the same problem, have no idea how to fix it.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Wrong JPEG library version: library is 62, caller expect

Post by fmw42 »

You have two apps that want different versions of libjpeg. You need to delete the old on 62 and reinstall a newer version 80 for IM.
Post Reply