Problem installing ImageMagick

I am trying to install ImageMagick and on entering the command:

rpm -i ImageMagick-6.0.8-3.i386.rpm

I get the following message:
error: Failed dependencies:
        libltdl is needed by ImageMagick-6.0.8-3

I have libtool installed and I can see the following library under /usr/lib :-

which apparently seems to be the one it asks for. Introducing /usr/lib in the LD_LIBRARY_PATH(I know it is evil :-))  didn't work either.

Any ideas what I need to do here?
Who is Participating?
EinarThConnect With a Mentor Commented:
hmmm.... I just checked on my box and I get the same error. I took a look at the rpms in question (i.e. imagemagick and libtool), and this is simply a package error.

Libtool provides (rpm -q --provides libtool)
libtool = 1.5.2-56

ImageMagick requires (rpm -qp --requires ImageMagick-*.rpm)

so, ImageMagick requires 'libltdl' (and ''), but libtool only provides ' (and not 'libltdl')

just do a rpm --Uhv --nodeps for this package (and maybe email libtool package maintainers....
1) /usr/lib/ is usually a symbolic link to the real library. Check if it's pointing to the real thing

2) This is propably because the latest-and-greatest ImageMagick needs a very recent version of libltdl. Do a rpm -qpi --requires /path/to/ImageMagick-6.0.8-3.i386.rpm
and check if the versions listed there match the one you have (see step 1). If not you'll have to upgrade libltdl.

sandeep_thAuthor Commented:
Hi Einar,
Upon your suggestion, I tried the rpm -qpi --requires command and amongst the various "requires" I saw these two:


whereas my /usr/lib/ was a link to /usr/lib/

So I modified it so that it looked as follows:

/usr/lib # ll /usr/lib/
lrwxrwxrwx  1 root root 12 2004-09-21 15:45 /usr/lib/ ->

But it still doesn't work.....same errror!!!!!
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

sandeep_thAuthor Commented:
Just realized it was a silly thing to do........'cause it is like this:- ->

In any case it looks I got a more recent version of this library than is required by this doesn't seem to be the problem.
That's s'posed to be "rpm -Uhv --nodeps ImageMagick-6.0.8-3.i386.rpm" of course.... not --Uhv

sandeep_thAuthor Commented:
Thanks...that DID help
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.