Help!

glibc upgrade carelessly

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions (archive 1) RSS
Next:  Livna repo down?  
Author Message
sanbeachdutrip
External


Since: May 07, 2006
Posts: 2



PostPosted: Sun May 07, 2006 1:50 am    Post subject: glibc upgrade carelessly
Archived from groups: comp>os>linux>misc (more info?)

Package: upgrade-reports
Severity: critical

Hi,
Yeah, I know, I did something very stupid! I was making some upgrades
on my Debian server carelessly and now every time I try to run a
program (which includes mv, cp, and ls) I get the following error:

relocation error: /lib/librt.so.1: symbol __librt_multiple_threads,
version GLIBC_PRIVATE not defined in file libc.so.6 with link time
reference

This makes the entire system unusable.

The problem is due to glibc which I upgraded....

Mi preparo a sostituire libc6-dev 2.3.6-3 (con
..../libc6-dev_2.3.6-7_i386.deb) ...
Spacchetto il rimpiazzo di libc6-dev ...
Mi preparo a sostituire libc6 2.3.6-3 (con .../libc6_2.3.6-7_i386.deb)
....

I´ve got any chance to fix it?
Thanks
Luca Stramenga
Back to top
Michael Heiming
External


Since: Apr 04, 2004
Posts: 3526



PostPosted: Sun May 07, 2006 5:04 pm    Post subject: Re: glibc upgrade carelessly [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In comp.os.linux.misc sanbeachdutrip DeleteThis @hotmail.com:
> Package: upgrade-reports
> Severity: critical

> Hi,
> Yeah, I know, I did something very stupid! I was making some upgrades
> on my Debian server carelessly and now every time I try to run a
> program (which includes mv, cp, and ls) I get the following error:

> relocation error: /lib/librt.so.1: symbol __librt_multiple_threads,

librt.so usually belongs to glibc.

> version GLIBC_PRIVATE not defined in file libc.so.6 with link time
> reference

> This makes the entire system unusable.

> The problem is due to glibc which I upgraded....

You should not upgrade glibc unless you are completely sure you
know what you are doing. Distro updates are fine, but please no
upgrade, as you just found out almost anything is linked against
it and will stop working.

If you have a working shell open and a statically linked version
of your package manager it might be fixable online.

If not, you need to reboot from some kind of rescue image, mount
your system to /mnt and reinstall (relocate + force) the proper
version of glibc.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry DeleteThis @urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 28: CPU radiator broken
Back to top
sanbeachdutrip
External


Since: May 07, 2006
Posts: 2



PostPosted: Mon May 08, 2006 3:41 am    Post subject: Re: glibc upgrade carelessly [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for you reply,
Next time I will give more attention to upgrade my distro.
For now, It seems I solved with this:

export LD_ASSUME_KERNEL=2.4.1
cd /lib/tls/
ln -s librt-2.3.6.so librt.so.1

but now every ssh login I need to do a new link to make it works.
Any suggest?
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions (archive 1) All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum