Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problem installing ImageMagick

Posted on 2004-09-21
6
Medium Priority
?
812 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
LVL 4

Accepted Solution

by:
EinarTh earned 500 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

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…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

963 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