LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-25-2003, 01:16 AM   #1
stevewalsh
LQ Newbie
 
Registered: Jul 2001
Distribution: Redhat 7.1
Posts: 7

Rep: Reputation: 0
Question glibc problem after RH9.0 up2date


I recently <successfully> upgraded from RHRH8.0 to 9.0 (kernel 2.4.20-8).
Tonight I decided to run up2date on my machines. One is fine (now at 2.4.20-9), but my laptop had an issue.
For some reason, the up2date process croaked. I came back to find the bootloader menu

Now I have the following error message appearing whenever I issue a command. For example if I run rpm I get:
rpm: relocation error: /lib/i686/libpthread.so.0: symbol _h_errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference.

I can't update the GLIBC files, because rpm won't run. Up2date won't run from the command line. Xwindows won't run. Aaaaaack !

Any help would be greatly appreciated.
 
Old 04-25-2003, 04:31 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You have lost something pretty basic. My guess is that it is one of the shared libraries. You may have to do a complete reinstall.

But in the spirit of why not mess with it since the worst that can happen is a complete reinstall I would start by looking at /etc/ld.so.config. Restore every library listed in ld.so.config from backup and then run ldconfig.
 
Old 05-04-2003, 10:41 AM   #3
gill1109
Member
 
Registered: Dec 2002
Location: cyberspace
Distribution: Redhat 9
Posts: 63

Rep: Reputation: 15
you'll find some answers at these two threads:

http://www.linuxquestions.org/questi...threadid=57607

http://www.linuxquestions.org/questi...threadid=55653
 
Old 05-04-2003, 10:48 AM   #4
gill1109
Member
 
Registered: Dec 2002
Location: cyberspace
Distribution: Redhat 9
Posts: 63

Rep: Reputation: 15
PS. I didn't do it yet, but I think the solution is to boot into rescue mode from the installation cdrom or your rescue floppy, chroot to the root directory of your damaged linux system, then do rpm -e on glibc followed by rpm -I of the new rpm's. Seems like the problem arose because the old glibc was not properly removed during the upgrade with up2date.
 
Old 05-04-2003, 12:49 PM   #5
bobbitt
LQ Newbie
 
Registered: Mar 2003
Distribution: RedHat 9.0
Posts: 7

Rep: Reputation: 0
I had the same problem, so I'll give that fix a try and post the results here. Just have to find the time to do a full system backup first...

Thanks!
 
Old 05-04-2003, 02:33 PM   #6
bobbitt
LQ Newbie
 
Registered: Mar 2003
Distribution: RedHat 9.0
Posts: 7

Rep: Reputation: 0
Did it, same result. I'm not sure if a "rpm --force -e glibc" would do better, but I'm too much of a chicken for that right now...

Looks like a manual compile/install of glibc is in order...
 
Old 05-04-2003, 03:17 PM   #7
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
--force parameter only works with -U or -i, following my little data.
 
Old 05-04-2003, 03:25 PM   #8
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
--force parameter only works with -U or -i, following my little data.
 
Old 05-06-2003, 12:34 PM   #9
gill1109
Member
 
Registered: Dec 2002
Location: cyberspace
Distribution: Redhat 9
Posts: 63

Rep: Reputation: 15
ps. and take a look at bugzilla:

https://bugzilla.redhat.com/bugzilla...g.cgi?id=88456
 
Old 05-06-2003, 02:25 PM   #10
bobbitt
LQ Newbie
 
Registered: Mar 2003
Distribution: RedHat 9.0
Posts: 7

Rep: Reputation: 0
Good news, I did the following:

rpm -Uvh --force glibc-2.3.2-27.9.i386.rpm glibc-common-2.3.2-27.9.i386.rpm
ldconfig

And it worked!

I apparently have to recompile Apache, but everything else looks like it's in good order...
 
  


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
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
Illegal instruction / Won't Boot after up2date glibc rjesse Fedora 2 10-16-2005 07:20 PM
updating glibc-2.3.2-11.9 to glibc-2.3.4 under rh9 bloodiestmarry Linux - Software 5 02-27-2005 05:43 AM
RHEL3 update-rpms good for rh9? or howto keep rh9 up2date? birras Red Hat 4 11-14-2004 01:11 PM
RH9 - up2date isn't up2date! robertmarkbram Linux - Software 2 10-22-2003 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:58 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