ImageMagick won't install (needs libltdl.so.3, but I have libltdl.so.7)

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
noobie2
Posts: 5
Joined: 2014-07-25T10:28:35-07:00
Authentication code: 6789

ImageMagick won't install (needs libltdl.so.3, but I have libltdl.so.7)

Post by noobie2 »

I'm running CENTOS 6.6 i686 and have spent hours trying to get ImageMagick installed. I really don't understand why it's so hard :(

Anyways, I finally got the old version removed, got all of the dependencies installed, but when I try installing ImageMagick with:

Code: Select all

rpm -Uvh ImageMagick-6.9.0-0.i386.rpm
I get:

Code: Select all

error: Failed dependencies:
        libltdl.so.3 is needed by ImageMagick-6.9.0-0.i386
So I ran:

Code: Select all

root@host [~]# locate libltdl.so.
Which gives:

Code: Select all

/usr/lib/libltdl.so.7
/usr/lib/libltdl.so.7.2.1
So it appears I have libltdl installed, but it's a different version than ImageMagick is wanting?

What do I do?

Please help!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick won't install (needs libltdl.so.3, but I have libltdl.so.7)

Post by fmw42 »

Sorry, this is just a guess, since I use a Mac and not Linux. Delete the older version of the delegate and retry installing IM. Be sure you have remove all files related to the older one. Check to see if you have any other delegate library with more than one version and remove the older ones. You can also look for errors in the config.log file in the downloaded IM folder.
noobie2
Posts: 5
Joined: 2014-07-25T10:28:35-07:00
Authentication code: 6789

Re: ImageMagick won't install (needs libltdl.so.3, but I have libltdl.so.7)

Post by noobie2 »

I did completely uninstall the old version, but based on help I got on a stackexchange website I think the issue is that there isn't a i386 libltdl package available (the server must have an i686 version installed).

I don't know if there's a way to get ImageMagick installed on an i686 server using the i386 RPM. If so, I couldn't get it working even after many, many hours and trying everything I found online.

With that said, I finally tried the other approach of downloading the source code and compiling it, and it seemed to have worked! I'm having a small problem with the file path, but I may post it as a new topic since it's different than the trouble I was having in here.

There really should be a warning or something that the i386 RPM doesn't work on an i686 machine! From the dozens of threads I found, this is something people have struggled with a lot and most of the questions I found didn't have answers/solutions.
Post Reply