LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-16-2005, 12:03 PM   #1
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Rep: Reputation: 15
Question Instalin from bin gives "GLIBC_2.3 not found"


Im trying to instal a program from a bin file under Debian 3.

After runing my_bin_file.bin I get the folowing error:
my_bin_file.bin: /lib/libc.so.6: version `GLIBC_2.3' not found (required by my_bin_file.bin)

After that I tried running: apt-get install glibc and got this error:
Reading Package Lists... Done
Building Dependency Tree... Done
Package glibc has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package glibc has no installation candidate

I would be very thankfull on any help as well as any howto's you can point my newbie a** to, I'm totaly confused since this is the first time apt-get install faild me.

Thx in advance.
 
Old 05-17-2005, 03:12 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
I think you need a newer version of libc6 and possibly libc6-dev. Also that it misses libc.so.6 indicates that. So try to "apt-get install libc6" and maybe libc6-dev as well.
 
Old 05-17-2005, 09:38 AM   #3
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks for the reply, but it appears I already have the latest version of libc6 and libc6-dev, well acording to apt-get. Is there anyway to confirm that?

Alternativly I found a howto on glibc instaltion ("Glibc Instlation HOWTO, revision 1.01 2004-03-19), I hope I dont burn my box in the proces since this will be my first encounter with compiling and such

Again any kind of help is apriciated (HOWTO, manuals etc)
 
Old 05-17-2005, 10:30 AM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Well your problem is that the program you try to install is too new. Woody is like over 3 years old now and the packages have only had security updates since then. Your libc6 package is too old for the bin. You can add another source to your apt sources.list from sarge which will be stable soon and then use that libc6 package. Or you can download a newer package manually from http://packages.debian.org and install it with dpkg ("dpkg -i packagename")
 
Old 05-17-2005, 11:11 AM   #5
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Ok so I found this: libc6-i686 (2.3.2.ds1-21), but it seams it is intended for 2.4 kernel only mine is 2.2 (I should have mentioned this in the original post sory)

Does this meen I have to upgrade my kernel becouse I have no idea how to do that, am willing to learn though.

If I just go ahaed and instal the package what could I expect to happen? Will it simply not function, refuse to install it self ??
 
Old 05-17-2005, 11:34 AM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Well yes it was supposed to be going to happen one time or another that you have to upgrade an over 4 year old kernel. Well I don't use the debian way of installing a new kernel myself. This tutorial shows you what I do nearly (only a bit easier, think I'll do that next time too )

http://www.linuxplanet.com/linuxplanet/tutorials/202/1/

I also read this about the debian way to install the kernel when I was new to it:

http://www.osnews.com/story.php?news_id=2949&page=1

Without the kernel I think the package won't install.
 
Old 05-17-2005, 12:24 PM   #7
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Heh yeah I was kinda living in a dream there oh whell might as well get to grips with reallity.
I see I'm going to be reading till my eyes bleed again, and just when I was feeling so good about my self for finely geting X to behave
Wish me luck

And again thanks for the links and the advice.
 
Old 05-17-2005, 03:30 PM   #8
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Well there's not much that can go wrong if you read so much For your kernel you can press the help button which will say if you need things probably or not when you don't know what something means. For the first time I'd also say that you shouldn't try to get it as small as possible. It also helps if you know a bit about your hardware (first time I didn't include my hard disk drivers ) And well ask if you really need to know something Good luck with it!
 
Old 05-19-2005, 11:25 AM   #9
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Hmm well here I am again.
I have maneged to upgrade to 2.6 without to much trouble (took me about 2 nights and half a day) but now I'm back to squere one, wich is why I'm posting in the same thread.

Only now I can't even run the .bin file. It simply does't recgonise i as comand. It is probably my fault resoulting from a wrong kernel build.

Could anyone help figure out what I did wrong?
 
Old 05-19-2005, 03:12 PM   #10
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Do you run it like "./binfile" ? Did you use "chmod +x binfile" to make it executable?
 
Old 05-20-2005, 11:20 AM   #11
Jeozp
Member
 
Registered: Dec 2004
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Ok I was hasty in my complaints (typeing before thinking :tsck: )

I can run the bin file but I still get the whole glibc_2.3 thing.
After trying to install libc6 (2.3) I am informed I first need libc6 (2.2.5.13) but to have that I can not have libnss. wich is all fine but upon trying to remove libnss I am find out that libc6 (2.2.5.8) depends on that lib.



If I try to remove libnss I have a strong fealing that libc6 2.2.5.8 will not function anymore therefor making it imposible to install libc6 2.2.5.13, and than I'm back where I started.

I would also like to point out my taht my head hurts by now

What am I doing wrong?
 
Old 05-20-2005, 03:49 PM   #12
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Well it's a bit of a long story. But it looks like this might be easier if you just upgrade your debian to a newer release (sarge) which is testing now and will be stable really soon. Is there a special reason you keep a 3 or 4 year old distro? Or don't you mind upgrading it a bit? If so look into the apt howto for upgrading to a newer release with apt-get dist-upgrade.

IMO that's the easiest way to get rid of the problem. You can also upgrade just a few packages with apt-pinning in your apt preferences file. In the apt howto is how you can do that (can't remember it anymore ) but then you'll probably have to find out what depends on what and set everything manually. Still an option though.
 
  


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
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
"Successful install" results in "Boot device not found" slackr007 Fedora 2 06-21-2005 04:05 PM
"Successful install" results in "Boot device not found" slackr007 Linux - Newbie 2 05-31-2005 08:02 PM
what is "S" instead of "X" in the file permission when i look at /usr/bin/chsh? Linux_interest Linux - Newbie 4 08-28-2004 09:22 AM
MDK10 official error with "GLIBC_2.0 not defined" lvxiang Mandriva 3 08-16-2004 10:34 AM


All times are GMT -5. The time now is 01:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration