ImageMagic install errors via /scripts/installimagemagick

9xlinux

Well-Known Member
Verifed Vendor
Dec 20, 2009
185
0
66
cPanel Access Level
Root Administrator
The cPanel ImagicMagic installation script (/scripts/installimagemagick) is showing bellow error,
Code:
Appending installation info to /usr/local/lib/perl5/5.8.8/x86_64-linux/perllocal.pod
OK
Successfully installed Image-Magick-6.72
1 distribution installed
&Image::Magick::constant not defined. The required ImageMagick libraries are not installed or not installed properly.
END failed--call queue aborted.
ImageMagick install failed
I have tried it at multiple servers with CentOS but same error.
Is this script is need some updation by cPanel or somthing else?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator

asuservice

Well-Known Member
Oct 24, 2001
85
0
306
Hi Folks,
Having a time of it getting this going. Running /scripts/installimagemagick went as described here and running ...

convert --version

... comes back with:


[email protected] [~]# convert -version
Version: ImageMagick 6.5.7-10 2011-10-20 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Features:

[email protected] [~]#

But whenever I run any php script anywhere on the server I get an error log containing:

[20-Oct-2011 16:23:49] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0

Checking /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ shows no imagick.so and running a locate on imagick.so so I can symlink comes back empty. I did run updatedb before I ran locate.

Also, I have tried several of the suggested ways to manually install ImageMagick and the dependancies are killing me. They just keep cascading.

Any suggestions ... the DC isn't being very helpful.

Thanks in advance for your time.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
I suggest opening a ticket with our support staff if you continue to experience errors. You can open a ticket using the following URL:

Submit A Ticket

Thank you.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
There is a difference between IMagick and ImageMagick. IMagick is the pecl module for PHP. You likely never installed it.

You can either do it in WHM > Software > Module Installers > PHP Pecl (manage). On the box below “Install a PHP Pecl” enter “imagick” and click “Install Now” button. If that doesn't work, you can run in command line the following:

Code:
pecl install imagick
If that doesn't work, please provide the error message.
 

asuservice

Well-Known Member
Oct 24, 2001
85
0
306
Thanks Michael & Tristan,
Will keep the ticket option in mind.

I did run the Pecl but got a few lines that I don't remember and the last was "Nothing To Do". It was marked as (reinstall)

DC techs and I worked on it all day yesterday but no love. I'm trying to connect with them to see where things are at before I ask for assistance from cPanel. Not good for too many fingers to be in the pie.

Thanks again ... I'll be back once I know where things are at and I try Tristan's suggestion.

There is a difference between IMagick and ImageMagick. IMagick is the pecl module for PHP. You likely never installed it.

You can either do it in WHM > Software > Module Installers > PHP Pecl (manage). On the box below “Install a PHP Pecl” enter “imagick” and click “Install Now” button. If that doesn't work, you can run in command line the following:

Code:
pecl install imagick
If that doesn't work, please provide the error message.
 

asuservice

Well-Known Member
Oct 24, 2001
85
0
306
We got it sorted out. Not sure what the tech did this morning that hadn't been done last night but it's working ok once the .so files show up in the proper directory.