Page 1 of 1

Can't upgrade to ImageMagick 6.5.4 on CentOS 5.3

Posted: 2009-08-13T04:42:23-07:00
by islr
Hello,

I have ImageMagick 6.2.8 installed on my CentOS 5.3 (64bit) system. I want to upgrade it to a newer version, because it has nice new features: kerning (letter-spacing) and interword-spacing. I need those for a PHP script I write for a website.

I tried yum, but it did not help, it didn't have a newer version of ImageMagick. Maybe I have to use some other repositories (I use CentOS and RPMForge repositories only).

I ended up with downloading ImageMagick 6.5.4 RPM from ImageMagick website. It was marked as Fedora package, there's no one for CentOS there.

When I tried to install it I've got some absent dependencies. I installed them all, most from the CentOS and RPMForge repositories, and the new version of libtool-ltdl from Fedora 11.

Finally, when I tried to install ImageMagick I got this error:

-bash-3.2# rpm -Uvh --test ImageMagick-6.5.4-10.x86_64.rpm
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by ImageMagick-6.5.4-10.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by ImageMagick-6.5.4-10.x86_64

I tried to install it using --nodeps, but got some "cpio: Bad magic" error.

Also, I tried to install ImageMagick 6.5.4 using yum:

-bash-3.2# yum localinstall ImageMagick-6.5.4-10.x86_64.rpm --nogpgcheck

But got error again:

...
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
rpmlib(FileDigests) is needed by ImageMagick-6.5.4-10.x86_64
rpmlib(PayloadIsXz) is needed by ImageMagick-6.5.4-10.x86_64
Complete!
(1, ['Please report this error in bugzilla'])

So, as far as I understand, I need to upgrade "rpm" package (or probably "rpm-libs") to make it working. Correct me if I'm wrong here.

The current version of rpm is:

-bash-3.2# rpm --version
RPM version 4.4.2.3

I'm not sure what to install, where to get it, and would it be OK to do such upgrade. I don't want any conflicts in my system.

So if anyone knows how to fix this problem please help. Thank you in advance.