Solved

Problem installing ImageMagick

Posted on 2004-09-21
6
748 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
If you don't know how to downgrade, my instructions below should be helpful.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

895 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

13 Experts available now in Live!

Get 1:1 Help Now