LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-05-2005, 01:20 AM   #1
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Rep: Reputation: 15
How should I handle dependency problem?


Hello there,

I was trying to install Gaim on my redhat-9, I downloaded it and try to use:

#rpm -i gaim-1.4.0-0rh9.i386.rpm

This return me with following error message:

error: Failed dependencies:
libao.so.2 is needed by gaim-1.4.0-0rh9
libgtkspell.so.0 is needed by gaim-1.4.0-0rh9

-----

I am actually wanna know how to handle this types of dependency issue? because, I have suffered a lot of time regarding dependency problem (not only with gaim but with some other programs). some of the user suggested me to use "yum" like solution. But I am not happy with this, because, I want to know the fact...why this happen and how to resolve !!

Please help me.
 
Old 08-05-2005, 04:10 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
You will have to find the rpm that provides the missing libraries (libao.so.2 and libgtkspell.so.0).

If you were to use a solution such as yum or apt-get it simplifies the process of installing packages quite a bit because you supply it with a repository from which it can pick RPMs if it needs to satisfy dependencies. It won't fix everything all of the time, but if dependencies are encountered that it knows how to resolve, then it will install the additional packages automatically.

If you don't want to go that route, I suggest you look on http://www.rpmfind.net. or a similar site for the two missing libraries.
 
Old 08-05-2005, 04:13 AM   #3
xukosky
Member
 
Registered: Apr 2005
Distribution: Becoming Sid
Posts: 142

Rep: Reputation: 16
Gaim can't be installed in your system because it needs some libraries which are not present in your system, so if you want to be able to install gaim you need to install those libraries before installing gaim. What more do you want to know?

Of course, you can install gaim without the libraries with the force option in rpm. But don't be surprised if then the program doesn't work.
 
Old 08-05-2005, 05:07 AM   #4
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
Dear cdhgee,

thanks, ur suggestion worked well, now I can chat some msn buddy from my linux pc :-D

I couldn't figure how actually can I install .so files. I was confused because, I knew they are library files. And,
I had no idea that rpm are availables for them.

Anyway .. thanks a lot.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pan newsreader problem (when handle millions of heanders) thinhla Linux - Software 0 07-06-2005 07:39 AM
xawtv problem that I couldn't handle yanglei5382 Linux - Software 3 06-26-2005 01:14 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM
Problem:: Unable to handle kernel NULL pointer... honest Linux - General 0 07-14-2004 06:17 PM
lilo install problem - Sorry - don't know how to handle device 0x0102 spiky Linux - General 4 01-21-2003 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:31 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
Open Source Consulting | Domain Registration