Solved

Problem installing ImageMagick

Posted on 2004-09-21
6
760 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

776 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