Solved

Problem installing ImageMagick

Posted on 2004-09-21
6
792 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

752 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