LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > 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...

Notices

Reply
 
Thread Tools
Old 04-25-2003, 02:16 AM   #1
stevewalsh
LQ Newbie
 
Registered: Jul 2001
Distribution: Redhat 7.1
Posts: 7
Thanked: 0
Question glibc problem after RH9.0 up2date


[Log in to get rid of this advertisement]
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.
stevewalsh is offline     Reply With Quote
Old 04-25-2003, 05:31 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: atop the Blue Ridge
Distribution: Debian Lenny, CentOS 5.2
Posts: 7,250
Thanked: 31
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.
jailbait is offline     Reply With Quote
Old 05-04-2003, 11:41 AM   #3
gill1109
Member
 
Registered: Dec 2002
Location: cyberspace
Distribution: Redhat 9
Posts: 61
Thanked: 0
you'll find some answers at these two threads:

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

http://www.linuxquestions.org/questi...threadid=55653
gill1109 is offline     Reply With Quote
Old 05-04-2003, 11:48 AM   #4
gill1109
Member
 
Registered: Dec 2002
Location: cyberspace
Distribution: Redhat 9
Posts: 61
Thanked: 0
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.
gill1109 is offline     Reply With Quote
Old 05-04-2003, 01:49 PM   #5
bobbitt
LQ Newbie
 
Registered: Mar 2003
Distribution: RedHat 9.0
Posts: 7
Thanked: 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!
bobbitt is offline     Reply With Quote
Old 05-04-2003, 03:33 PM   #6
bobbitt
LQ Newbie
 
Registered: Mar 2003
Distribution: RedHat 9.0
Posts: 7
Thanked: 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...
bobbitt is offline     Reply With Quote
Old 05-04-2003, 04: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
Thanked: 0
--force parameter only works with -U or -i, following my little data.
membrax is offline     Reply With Quote
Old 05-04-2003, 04: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
Thanked: 0
--force parameter only works with -U or -i, following my little data.
membrax is offline     Reply With Quote
Old 05-06-2003, 01:34 PM   #9
gill1109
Member
 
Registered: Dec 2002
Location: cyberspace
Distribution: Redhat 9
Posts: 61
Thanked: 0
ps. and take a look at bugzilla:

https://bugzilla.redhat.com/bugzilla...g.cgi?id=88456
gill1109 is offline     Reply With Quote
Old 05-06-2003, 03:25 PM   #10
bobbitt
LQ Newbie
 
Registered: Mar 2003
Distribution: RedHat 9.0
Posts: 7
Thanked: 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...
bobbitt is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 04:22 PM
Illegal instruction / Won't Boot after up2date glibc rjesse Fedora 2 10-16-2005 08:20 PM
updating glibc-2.3.2-11.9 to glibc-2.3.4 under rh9 bloodiestmarry Linux - Software 5 02-27-2005 06:43 AM
RHEL3 update-rpms good for rh9? or howto keep rh9 up2date? birras Red Hat 4 11-14-2004 02:11 PM
RH9 - up2date isn't up2date! robertmarkbram Linux - Software 2 10-22-2003 07:48 AM


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

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration