LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2004, 01:43 PM   #1
riseringseeker
Member
 
Registered: Aug 2004
Posts: 31

Rep: Reputation: 15
dependency hell


OK, relative newbie here, so be gentle with me. I've run Linux for over a year now, but honestly more as a user than an administrator. I run the 5 disk version of Mandrake 10.0 using MkdKDM as the display manager (and as I type this, I realize this may relate to another problem).

I am trying to install kxstitch-0.5-1.i586.rpm. I type:

rpm -i kxstitch-0.5-1.i586.rpm

and I get:

error: Failed dependencies:
libMagick++.so.5 is needed by kxstitch-0.5-1
libMagick.so.5 is needed by kxstitch-0.5-1
liblcms.so is needed by kxstitch-0.5-1

OK, so I have libraries that are not installed, or are the wrong version. I tried (as root):

ln libMagick-5.5.7.so.0.0.0 libMagick.so.5
ln libMagick++-5.5.7.so.0.0.0 libMagick++.so.5

liblcms.so was already in the directory, so I did nothing about a link.

Run rpm again, and get the same error.

Anyone tell me what else I should do?
 
Old 09-22-2004, 01:54 PM   #2
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
im no rpm expert(personaly i cant stand them for this exact reason), but it may be looking in the rpm database for those librarys, and also, if you change the librarys, its usualy a good idea to update your linker /sbin/ldconfig
edit: also make sure the path those librarys are in is in /etc/ld.so.conf before you run ldconfig

Last edited by AAnarchYY; 09-22-2004 at 01:55 PM.
 
Old 09-22-2004, 02:46 PM   #3
riseringseeker
Member
 
Registered: Aug 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by AAnarchYY
im no rpm expert(personaly i cant stand them for this exact reason), but it may be looking in the rpm database for those librarys, and also, if you change the librarys, its usualy a good idea to update your linker /sbin/ldconfig
edit: also make sure the path those librarys are in is in /etc/ld.so.conf before you run ldconfig
I appreciate the quick response, but none of the above solved the problem - still get the same errors.
 
Old 09-22-2004, 02:57 PM   #4
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
Have you looked into Easy URPMI? http://easyurpmi.zarb.org/

Once you configure Mandrake to use the Main, Contrib, Update, and PLF (penguin Liberation Front), sources, most dependency problems are solved automatically. Knock on Wooden Penguin...

Then, just open a root console, type URPMI xxxnamexxx and you're good to go, 9 out of 10 times
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
please help me I'm in dependency hell baronsam Linux - Software 5 11-05-2004 10:33 PM
Dependency Hell :-( AMMullan Linux - Software 5 03-27-2004 11:51 PM
Is this what they mean by dependency hell? john_walsh54 Linux - Software 1 10-10-2003 08:52 AM
Dependency hell !!! lub0 Linux - Software 5 09-26-2003 09:17 AM
Dependency Hell Time Lord Mandriva 2 09-09-2003 04:48 PM


All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration