Newbie trying to Install onto CentOS 6

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mendip_discovery
Posts: 1
Joined: 2012-11-05T08:56:58-07:00
Authentication code: 67789

Newbie trying to Install onto CentOS 6

Post by mendip_discovery »

I have only been playing with a new VM Webserver and I have never had the level of access I have now so I am at a bit of a loss of how to install IM and get it to work.

I have full root access to a VM via SSH. I am using CentOS 6 with PHP 5.3.3.

I have tried to install the rpm - http://www.imagemagick.org/download/lin ... x86_64.rpm but I get,

Code: Select all

error: Failed dependencies:
        libHalf.so.4()(64bit) is needed by ImageMagick-6.8.0-4.x86_64
        libIex.so.4()(64bit) is needed by ImageMagick-6.8.0-4.x86_64
        libIlmImf.so.4()(64bit) is needed by ImageMagick-6.8.0-4.x86_64
        libImath.so.4()(64bit) is needed by ImageMagick-6.8.0-4.x86_64
        libfftw3.so.3()(64bit) is needed by ImageMagick-6.8.0-4.x86_64
        libltdl.so.3()(64bit) is needed by ImageMagick-6.8.0-4.x86_64
I don't know what they are and so I can't find them.

Then I tried to install from Unix Source but that seems to have worked but how do I get it to work with PHP from what I have found via google I just need to add extension=imagick.so in the php.ini but that still doesn't work.

So I ended up I ended up using a old ImageMagick that I managed to install via the yum command but its 6.5.4-7 so 3 years old. But I would prefer to use the newer version as the site is very image orientated as it uses Piwigo to show a gallery with over 130,000 photographs.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Newbie trying to Install onto CentOS 6

Post by anthony »

You should be about toi find the libraries using the "yum" interface.

CentOS 6 however is very old, and you may have a lot of trouble getting some things for it.
You may be better of compiling the RPM yourself.

There is a guide on generating RPM's (fedora) in
http://www.imagemagick.org/Usage/api/#building
It should be valid for CentOS too.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply