LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Instalin from bin gives "GLIBC_2.3 not found" (https://www.linuxquestions.org/questions/linux-software-2/instalin-from-bin-gives-glibc_2-3-not-found-324053/)

Jeozp 05-16-2005 12:03 PM

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.

darkleaf 05-17-2005 03:12 AM

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.

Jeozp 05-17-2005 09:38 AM

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 :eek:

Again any kind of help is apriciated (HOWTO, manuals etc)

darkleaf 05-17-2005 10:30 AM

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")

Jeozp 05-17-2005 11:11 AM

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) :o

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

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 ?? :scratch:

darkleaf 05-17-2005 11:34 AM

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.

Jeozp 05-17-2005 12:24 PM

Heh yeah I was kinda living in a dream there :cool: 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 :rolleyes:
Wish me luck :)

And again thanks for the links and the advice.

darkleaf 05-17-2005 03:30 PM

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!

Jeozp 05-19-2005 11:25 AM

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?

darkleaf 05-19-2005 03:12 PM

Do you run it like "./binfile" ? Did you use "chmod +x binfile" to make it executable?

Jeozp 05-20-2005 11:20 AM

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.

:confused:

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 :cry:

What am I doing wrong?

darkleaf 05-20-2005 03:49 PM

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.


All times are GMT -5. The time now is 03:00 PM.