The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ImageMagic install errors via /scripts/installimagemagick

Discussion in 'General Discussion' started by 9xlinux, Oct 20, 2011.

  1. 9xlinux

    9xlinux Well-Known Member

    Joined:
    Dec 20, 2009
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
  3. asuservice

    asuservice Well-Known Member

    Joined:
    Oct 24, 2001
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Hi Folks,
    Having a time of it getting this going. Running /scripts/installimagemagick went as described here and running ...

    convert --version

    ... comes back with:


    root@server1 [~]# 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:

    root@server1 [~]#

    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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.
     
  6. asuservice

    asuservice Well-Known Member

    Joined:
    Oct 24, 2001
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    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.

     
  7. asuservice

    asuservice Well-Known Member

    Joined:
    Oct 24, 2001
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
Loading...

Share This Page