Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 08, 2012, 08:32:55 AM

Pages: [1]   Go Down
  Print  
Author Topic: HOW TO INSTALL "ImageMagick" ON PLESK SERVER???  (Read 4376 times)
panpree
Newbie
*
Offline Offline

Posts: 5


« on: May 26, 2009, 04:20:17 AM »

Hello Everyone,

I want to install latest ImageMagick-6.5.2 on my server, but every time when I install it on my server, I get error: Crying or Very sad

Unsatisfied dependencies for ImageMagick-6.5.2-8.i386: libc.so.6(GLIBC_2.4), libgdk_pixbuf-2.0.so.0, libgomp.so.1, libgs.so.8, liblcms.so.1, libpng12.so.0(PNG12_0), librsvg-2.so.2, libwmflite-0.2.so.7, rtld(GNU_HASH)

So I used following for installing the package:
# rpm -i ImageMagick-6.5.2-8.i386.rpm --nodeps

But I think it is not working in script.
However it is showing the convert path in shell

[root@vps ~]# whereis convert
convert: /usr/bin/convert /usr/share/man/man1/convert.1.gz


and ImageMagick version-
[root@vps ~]# rpm -qa | grep ImageMagick
ImageMagick-6.5.2-8


but following command doesn't work-
[root@vps ~]# convert -version
Floating point exception


So please tell me how can I install ImageMagick on my server without any errors.  Yep


Thanks.

Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #1 on: May 29, 2009, 06:15:34 AM »

Hello Panpree,

As per the unsatisfied dependencies found error you got installing the ImageMagick rpm, you need also to install the libraries it depends on and complained about like libpng and so on. Without those it just unable to link the required functions for image transformation.
Logged

Kind Regards,
Vlad Artamonov
panpree
Newbie
*
Offline Offline

Posts: 5


« Reply #2 on: May 29, 2009, 02:30:20 PM »

Hello Vlad,

I have searched over the web but unable to get proper instruction for installing the dependencies.

So please instruct me how to install libraries of dependencies, where can I get these dependencies or it is available in system & need to install.
I don't know how to install these dependencies. Please suggest me how to install them?
What will be the right commands?


Thanks,
panpree
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #3 on: June 01, 2009, 12:05:17 AM »


First of all where did you obtain  ImageMagick-6.5.2-8.i386.rpm from is it compatible with Centos 4? If you do not need features provided in the new versions of ImageMagick, I would use the rpms from the distributive:

http://mirrors.kernel.org/centos/4.7/os/i386/CentOS/RPMS/

Try to  download the ImageMagick rpm and needed libraries from there and install via rpm -i. Let me know if you need any furhter help.
Logged

Kind Regards,
Vlad Artamonov
panpree
Newbie
*
Offline Offline

Posts: 5


« Reply #4 on: June 01, 2009, 03:48:38 AM »

Hello Vlad,

Thanks for your support.

I have used the following rpm for installing the ImageMagic:

wget http://mirrors.kernel.org/centos/4.7/os/i386/CentOS/RPMS/ImageMagick-6.0.7.1-20.el4.i386.rpm

rpm -ivv ImageMagick-6.0.7.1-20.el4.i386.rpm


and I think it is installed properly & should work for my script.

# convert -v
Version: ImageMagick 6.0.7 07/25/08 Q16

# whereis convert
convert: /usr/bin/convert /usr/share/man/man1/convert.1.gz

# convert logo: logo.gif

# identify logo.gif
logo.gif GIF 640x480 640x480+0+0 PseudoClass 256c 37kb 0.010u 0:01



Thanks,
panpree
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #5 on: June 05, 2009, 09:19:45 AM »


Glad to hear you were able to sort this out. Thanks for  providing your experience as well!
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to: