Inistall IM on CentOS 5.4

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
dnessett

Inistall IM on CentOS 5.4

Post by dnessett »

I wanted to upgrade imagemagick on my CentOS 5.4 system. The version in the repository is way out of date. I used yum to erase the existing version (6.2.8.0-4.el5_5.3 ) and downloaded the rpm from the imagemagick site (ImageMagick-6.6.5-4.i386.rpm). I then used the command specified (sudo rpm -Uvh ImageMagick-6.6.5-4.i386.rpm), but received the following error message:

error: Failed dependencies:
libHalf.so.4 is needed by ImageMagick-6.6.5-3.i386
libIex.so.4 is needed by ImageMagick-6.6.5-3.i386
libIlmImf.so.4 is needed by ImageMagick-6.6.5-3.i386
libImath.so.4 is needed by ImageMagick-6.6.5-3.i386
libcdt.so.4 is needed by ImageMagick-6.6.5-3.i386
libdjvulibre.so.21 is needed by ImageMagick-6.6.5-3.i386
libfftw3.so.3 is needed by ImageMagick-6.6.5-3.i386
libgraph.so.4 is needed by ImageMagick-6.6.5-3.i386
libgvc.so.5 is needed by ImageMagick-6.6.5-3.i386

This was surprising, since the instructions suggested the rpm was self-contained. I realize I have to resolve these dependencies. However, the CentOS 5.4 repo may not have the correct versions of these utilities. Any advice how to get the correct ones?
dnessett

Re: Inistall IM on CentOS 5.4

Post by dnessett »

I was able to get ImageMagick 6.6.2-10 installed using rpmbuild. Some comments on this process are found here; http://en.citizendium.org/wiki/User:Dan ... k_6.6.2-10. Note, these are rough notes and do not represent a complete set of instructions how to get 6.6.2-10 running on CentOS 5.4/5.5
Post Reply