LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-18-2004, 09:32 AM   #1
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Rep: Reputation: 15
can't install any software


Hi,

I tried to install tftp service on my RedHat box. It keep asking dependency one after another and i am tried to provide them. I try to satisfy one package's requirement, another pops up... what to do? how to figure out how to solve the problem .. very upset

below what i got:

[root@tftp root]# rpm -Uvh tftp-server-0.32-4.i386.rpm
error: failed dependencies:
libc.so.6(GLIBC_2.3) is needed by tftp-server-0.32-4
libwrap.so.0 is needed by tftp-server-0.32-4
[root@tftp root]# rpm -Uvh glibc-2.3.2-11.9.i386.rpm
error: failed dependencies:
glibc-common = 2.3.2-11.9 is needed by glibc-2.3.2-11.9
glibc > 2.2.5 conflicts with glibc-common-2.2.5-34
glibc = 2.2.5 is needed by glibc-devel-2.2.5-34
[root@tftp root]# rpm -Uvh tcp_wrappers-7.6-34.i386.rpm
error: failed dependencies:
libc.so.6(GLIBC_2.3) is needed by tcp_wrappers-7.6-34
[root@tftp root]#


plz help me ... how to solve this problem (not only tftp .. almost every service i can't install due to dependency problem)
 
Old 03-18-2004, 09:47 AM   #2
rec
LQ Newbie
 
Registered: Mar 2004
Posts: 22

Rep: Reputation: 15
Hi 6th sense. As I am just getting my feet wet in linux some of these things are very frustrating. I'm wondering if perhaps I need to just take a different approach all together. Perhaps command line though I suspect that may get real complicated real fast
 
Old 03-18-2004, 09:55 AM   #3
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
sorry, its not a related question..but are u interested in linux networking ? so u should continue on command line.

I just went through some previous thrades and got that apt-get is one solve dependency problems. but still i need better suggstion if i can figure out from ReadMe or Install file.

another thing i can't understand about dependent library files.....where they are located and how to define library path during compiling. Have u ever faced problem like this ?
 
Old 03-18-2004, 10:27 AM   #4
orion78
LQ Newbie
 
Registered: Feb 2004
Location: new york
Distribution: Fedora
Posts: 6

Rep: Reputation: 0
have you tried using apt-get or yum to install your software. I use yum finding it the easiest and it checks for all dependicies that you may need to install your software. It will show all dependicies and then ask if this ok to install. It's easy to use and you should not have any problems installing your software.
 
Old 03-18-2004, 10:47 AM   #5
rec
LQ Newbie
 
Registered: Mar 2004
Posts: 22

Rep: Reputation: 15
I just found this and it looks to be very interesting and informative. I think after reading it a few times and maybe a couple of tries I think I can get this to work.

http://www.tldp.org/HOWTO/Software-B...OWTO.html#toc4
 
Old 03-18-2004, 10:51 AM   #6
rec
LQ Newbie
 
Registered: Mar 2004
Posts: 22

Rep: Reputation: 15
Actually I think these are the relevant pages.


http://www.tldp.org/HOWTO/Software-B...g-HOWTO-2.html

http://www.tldp.org/HOWTO/Software-B...g-HOWTO-3.html
 
Old 03-18-2004, 12:33 PM   #7
Totoro
LQ Newbie
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 17

Rep: Reputation: 0
Off topic reply:

How does apt-get work?

apt-get <http url to rpm file> ?
 
Old 03-19-2004, 07:16 AM   #8
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
-Yes, I think those links will really help us not to rely on some third party software for dependency problem. I'll get back after study and trying those problem again.

 
Old 03-19-2004, 12:55 PM   #9
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
What the heck version of GlibC are you using if it's not 2.3?! What version of Red Hat are you on?
Basically, the short answer is to compile whatever you need from source because it won't need the specific versions of packages to satisfy dependencies that other packages (apt/rpm) might need.

To put it another way, if you download an rpm that was compiled against GLIBC 2.3 then you NEED GLIBC 2.3 for it to work on your system, whereas if you compile the source it will (or should) work with whatever version of GLIBC you have.
 
Old 03-20-2004, 12:38 AM   #10
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
Hi Komakino,

Thanks for participating. I guessed from ur advice any rpm application needs exactly version of dependent software it ask for during installation. Hence, I tried with another box where glibc-2.3 was installed. and tftp-server-0.32-4.i386.rpm was installed like magic.

but the problem is where i really need my tftp server to run (on another box) has GLIBC version : glibc-2.2.5-34.

I think this is the reason "tftp-server-0.32-4.i386.rpm" is not being installed on this box. so...what i need to fix is, using the source of tftp server.(Can you tell me where to get the source?)

well, ok, i m late to mention...; I m using a redhat-9 and u already know the version of GLIBC is "glibc-2.2.5-34." I tried to install glibc-2.3 using rpm but i failed showing reason with some other dependency-error message below:

[root@tftp root]# rpm -Uvh glibc-2.3.2-11.9.i386.rpm
error: failed dependencies:
glibc-common = 2.3.2-11.9 is needed by glibc-2.3.2-11.9
glibc > 2.2.5 conflicts with glibc-common-2.2.5-34
glibc = 2.2.5 is needed by glibc-devel-2.2.5-34
[root@tftp root]#

Thnx once angain.
 
Old 03-20-2004, 01:43 AM   #11
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Original Poster
Rep: Reputation: 15
Thumbs up

Yooooo !!! I made it .. what i did .. was used source rpm tftp-0.32-4.src.rpm and compiled it to match with my kernel and existing glibc. Then went to /usr/src/redhat/RPMS /1386..and i got tftp-server-0.32-4.i386.rpm ready there. just run rpm -Uvh tftp-server-0.32-4.i386.rpm

now..magic !!

i configured it !! restarted the xinetd.d and now working well.


thnx all perticipent to my thread. specially "Komakino" - I got the clue from him, and finally to work it out !

but still, dependency suffers me a lot...so, i need good documentation .. to know, how to handle those package that require another files during installation.

anybody know about such resource?

Regards,
 
Old 03-20-2004, 01:47 AM   #12
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
mandrake - urpmi
debian - yum OR apt-get


Now someone else gets to to post the next 2 (Slackware and RedHat) lol
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot install some software txotxo SUSE / openSUSE 2 10-01-2005 01:37 PM
Where do you install software? rcockrell Linux - Software 2 11-01-2004 11:29 PM
where should i install software? iemerick Linux - Newbie 4 07-23-2004 10:35 AM
Where to install software? jess1975 Linux - Newbie 1 07-13-2004 06:11 AM
How to Install software? Silverado2000 Linux - Newbie 6 01-30-2002 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 AM.

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