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.

Problem with ImageMagick version

Discussion in 'General Discussion' started by lokirj, Dec 22, 2010.

  1. lokirj

    lokirj Member

    Joined:
    Oct 10, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hello all

    I have WHM 11.26.20 with CENTOS 4.8 x86_64 standard

    I installed ImageMagick from WHM
    http://img140.imageshack.us/img140/9207/screenshot003dk.jpg

    I went to Root and its ok!
    http://img822.imageshack.us/img822/4318/screenshot004au.jpg

    Then I went in modules installers and tried to install Imagick
    http://img213.imageshack.us/img213/5223/screenshot005o.jpg

    And appeared the following error:
    checking if ImageMagick version is at least 6.2.4... configure: error: no. You need at least Imagemagick version 6.2.4 to use Imagick.

    http://img403.imageshack.us/img403/3612/screenshot006um.jpg


    So my question is simple...

    How can i update the ImageMagick using WHM because i tried all methods
    /scripts/installimagemagick - Not works
    yum update ImageMagick - Not works
    Download the last ImageMagick version and installed manualy - Not works

    Thanks for any help
    Giovanni
     
    #1 lokirj, Dec 22, 2010
    Last edited: Dec 23, 2010
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    If you are unable to install the required ImageMagick version from WHM, then the only option you have is to download and install it manually. Remove the current version of ImageMagick completely and download the latest version and follow the installation steps. If you face any issues, paste the error message here so people can help you out.
     
  3. lokirj

    lokirj Member

    Joined:
    Oct 10, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
  4. lokirj

    lokirj Member

    Joined:
    Oct 10, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
  5. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    May be you are missing a step somewhere, have your hosting provider OR some admin look into it for you OR even cPanel Enggs :)
     
  6. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    Most probably some missing dependencies. Try the following:

    Code:
    yum clean all && yum install libX11-devel.i386 libX11-devel.x86_64 -y
    wget -c "ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz"
    tar xfz ImageMagick.tar.gz && cd ImageMagick-6.6.6-6
    ./configure --prefix=/usr && make && make install && ldconfig
    identify --version
    You might need to edit imagemagick folder depending if new version will be published meantime.
    Code:
    root@nlsrv1 [/usr/local/src]# identify --version
    Version: ImageMagick 6.6.6-6 2010-12-23 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
    Features: OpenMP
     
    #6 InterServed, Dec 24, 2010
    Last edited: Dec 24, 2010
  7. lokirj

    lokirj Member

    Joined:
    Oct 10, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    command results: yum install libX11-devel.i386 libX11-devel.x86_64 -y

    Code:
    [root@cpanel ImageMagick-6.6.6-7]# yum install libX11-devel.i386 libX11-devel.x86_64 -y
    Loading "fastestmirror" plugin
    Setting up Install Process
    Setting up repositories
    update                    100% |=========================|  951 B    00:00
    base                      100% |=========================| 1.1 kB    00:00
    addons                    100% |=========================|  951 B    00:00
    extras                    100% |=========================| 1.1 kB    00:00
    Loading mirror speeds from cached hostfile
    Reading repository metadata in from local files
    primary.xml.gz            100% |=========================| 529 kB    00:00
    update    : ################################################## 1211/1211
    primary.xml.gz            100% |=========================| 715 kB    00:00
    base      : ################################################## 1844/1844
    primary.xml.gz            100% |=========================|  192 B    00:00
    primary.xml.gz            100% |=========================|  40 kB    00:00
    extras    : ################################################## 146/146
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    No Match for argument: libX11-devel.i386
    No Match for argument: libX11-devel.x86_64
    Nothing to do
    [root@cpanel ImageMagick-6.6.6-7]#
    

    Same error at MAKE command :(

    Code:
    [root@cpanel ImageMagick-6.6.6-7]# make
    make  all-am
    make[1]: Entering directory `/ImageMagick-6.6.6-7'
      CCLD   magick/libMagickCore.la
    /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
    /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
    /usr/bin/ld: cannot find -lX11
    collect2: ld returned 1 exit status
    make[1]: *** [magick/libMagickCore.la] Error 1
    make[1]: Leaving directory `/ImageMagick-6.6.6-7'
    make: *** [all] Error 2
    [root@cpanel ImageMagick-6.6.6-7]#
    
     
    #7 lokirj, Dec 25, 2010
    Last edited: Dec 25, 2010
  8. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    What is the output of this command below.

    yum list libX11*

    Here is what you should get.

    Code:
    root@cpanel [~]# yum list libX11*
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * rpmforge: fr2.rpmfind.net
    Excluding Packages in global exclude list
    Finished
    Installed Packages
    libX11.i386                                                                  1.0.3-11.el5                                                           installed
    libX11.x86_64                                                                1.0.3-11.el5                                                           installed
    libX11-devel.i386                                                            1.0.3-11.el5                                                           installed
    libX11-devel.x86_64                                                          1.0.3-11.el5                                                           installed
    
    You can try installing these rpms, or best contact your host's support to dig this further.
    Lastly, you need to either install it via source or rpm, you cannot have both source and rpm binaries/libs on your server. This will create a mess. It is better to remove all known files and start afresh.


     
  9. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    Try the following:
    Code:
    ./configure --without-x
    make && make install
    ldconfig && identify --version
     
  10. lokirj

    lokirj Member

    Joined:
    Oct 10, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    My results

    Code:
    [root@cpanel ~]# yum list libX11*
    Loading "fastestmirror" plugin
    Setting up repositories
    Loading mirror speeds from cached hostfile
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    [root@cpanel ~]#
    
     
  11. lokirj

    lokirj Member

    Joined:
    Oct 10, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    My results with ./configure --without-x

    ./configure --without-x
    Code:
      CC     utilities/display.o
      CCLD   utilities/display
      CC     utilities/identify.o
      CCLD   utilities/identify
      CC     utilities/import.o
      CCLD   utilities/import
      CC     utilities/mogrify.o
      CCLD   utilities/mogrify
      CC     utilities/montage.o
      CCLD   utilities/montage
      CC     utilities/stream.o
      CCLD   utilities/stream
    make[1]: Leaving directory `/ImageMagick-6.6.6-7'
    [root@cpanel ImageMagick-6.6.6-7]#
    
    Make install results

    Code:
     /usr/bin/install -c -m 644 wand/MagickWand.h wand/animate.h wand/compare.h wand/composite.h wand/conjure.h wand/convert.h wand/deprecate.h wand/display.h wand/drawing-wand.h wand/identify.h wand/import.h wand/magick-image.h wand/magick-property.h wand/magick-wand.h wand/magick_wand.h wand/mogrify.h wand/montage.h wand/pixel-iterator.h wand/pixel-wand.h wand/stream.h wand/wand-view.h '/usr/local/include/ImageMagick/wand'
    make[2]: Leaving directory `/ImageMagick-6.6.6-7'
    make[1]: Leaving directory `/ImageMagick-6.6.6-7'
    [root@cpanel ImageMagick-6.6.6-7]#
    
     
  12. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    That sounds like a successful install, can you verify if it's working?
    Code:
    ldconfig
    identify --version
    convert --version
    If it does return Version: ImageMagick 6.6.6-7 that means it has been installed and you can proceed to install imagick module from WHM.
     
    #12 InterServed, Dec 26, 2010
    Last edited: Dec 26, 2010
  13. lokirj

    lokirj Member

    Joined:
    Oct 10, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1

    Yeah...now its OK!

    InterServed you are amazing :) Thankssssssssssssssss!
     
  14. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    You're more than welcome , glad i could help. Happy holidays !
     
Loading...

Share This Page