lokirj

Member
Oct 10, 2006
7
0
151
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
 
Last edited:

madaboutlinux

Well-Known Member
Jan 24, 2005
1,051
2
168
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.
 

InterServed

Well-Known Member
Jul 10, 2007
268
14
68
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:
[email protected] [/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
 
Last edited:

lokirj

Member
Oct 10, 2006
7
0
151
command results: yum install libX11-devel.i386 libX11-devel.x86_64 -y

Code:
[[email protected] 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
[[email protected] ImageMagick-6.6.6-7]#

Same error at MAKE command :(

Code:
[[email protected] 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
[[email protected] ImageMagick-6.6.6-7]#
 
Last edited:

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
7
68
PK
cPanel Access Level
DataCenter Provider
What is the output of this command below.

yum list libX11*

Here is what you should get.

Code:
[email protected] [~]# 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.


command results: yum install libX11-devel.i386 libX11-devel.x86_64 -y

Code:
[[email protected] 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
[[email protected] ImageMagick-6.6.6-7]#

Same error at MAKE command :(

Code:
[[email protected] 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
[[email protected] ImageMagick-6.6.6-7]#
 

lokirj

Member
Oct 10, 2006
7
0
151
What is the output of this command below.

yum list libX11*

Here is what you should get.

Code:
[email protected] [~]# 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.
My results

Code:
[[email protected] ~]# 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
[[email protected] ~]#
 

lokirj

Member
Oct 10, 2006
7
0
151
Try the following:
Code:
./configure --without-x
make && make install
ldconfig && identify --version
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'
[[email protected] 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'
[[email protected] ImageMagick-6.6.6-7]#
 

InterServed

Well-Known Member
Jul 10, 2007
268
14
68
cPanel Access Level
DataCenter Provider
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'
[[email protected] 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'
[[email protected] ImageMagick-6.6.6-7]#
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.
 
Last edited:

lokirj

Member
Oct 10, 2006
7
0
151
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.

Yeah...now its OK!

InterServed you are amazing :) Thankssssssssssssssss!