Solved

Problem installing ImageMagick

Posted on 2004-09-21
6
733 Views
Last Modified: 2013-11-13
Hi,
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 :-
/usr/lib/libltdl.so

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?
0
Comment
Question by:sandeep_th
  • 3
  • 3
6 Comments
 
LVL 4

Expert Comment

by:EinarTh
ID: 12111826
1) /usr/lib/libltdl.so 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.

cheers.
0
 

Author Comment

by:sandeep_th
ID: 12112141
Hi Einar,
Upon your suggestion, I tried the rpm -qpi --requires command and amongst the various "requires" I saw these two:

libltdl
libltdl.so.3

whereas my /usr/lib/libltdl.so was a link to /usr/lib/libltdl.so.3.1

So I modified it so that it looked as follows:

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

But it still doesn't work.....same errror!!!!!
0
 

Author Comment

by:sandeep_th
ID: 12112173
Just realized it was a silly thing to do........'cause it is like this:-

libltdl.so.3 -> libltdl.so.3.1.0

In any case it looks I got a more recent version of this library than is required by ImageMagick....so this doesn't seem to be the problem.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 4

Accepted Solution

by:
EinarTh earned 125 total points
ID: 12112607
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)
libltdl.so.3
libtool = 1.5.2-56

ImageMagick requires (rpm -qp --requires ImageMagick-*.rpm)
...8<...
libltdl
libltdl.so.3
...8<...

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

just do a rpm --Uhv --nodeps for this package (and maybe email libtool package maintainers....
0
 
LVL 4

Expert Comment

by:EinarTh
ID: 12112789
That's s'posed to be "rpm -Uhv --nodeps ImageMagick-6.0.8-3.i386.rpm" of course.... not --Uhv

0
 

Author Comment

by:sandeep_th
ID: 12142515
Thanks...that DID help
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now