LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-25-2003, 01:36 AM   #1
barryjones
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
X does not work after partial install install of glibc using up2date


I used up2date on RedHat 9 to update glibc, but one of the packages didn't download correctly, but the rest were still installed. When I rebooted and I try to run X (or other programs, eg rpm) I get the following message:

/usr/bin/gnome-session: 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

how would I install the missing rpm so that everything works again. Or alternately how can I install the previous version of glibc from the cdroms seeing that the rpm command doesn't work.

Thanks in advance.
 
Old 11-25-2003, 01:50 AM   #2
hazza
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Mandrake, SUSE, Fedora
Posts: 122

Rep: Reputation: 15
I once had a botched glibc update under RH8. It made my system unusable to the point that it wouldn't boot the next time I restarted it. So if you can don't reboot your system otherwise you could have trouble starting RH9 again. You could try to temporaritly install the old glibc rpms from the RH9 CDs using the --force option of rpm. First try doing "rpm -Fvh --force glibc*.rpm nscd*.rpm". If that doesn't work you may have to try using "rpm -Uvh --force glibc*.rpm nscd*.rpm".
 
Old 11-25-2003, 03:38 AM   #3
barryjones
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Original Poster
Rep: Reputation: 0
this doesn't work, I just get the following error message

rpm: relocation error: /lib/i686/libpthread.so.0: symbol _h_errno, nersion GLIBC_2.0 not defined in file libs.co.6 with link time reference

Its like rpm is not running at all. Am I doomed to have to reinstall?
 
Old 11-25-2003, 04:16 AM   #4
hazza
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Mandrake, SUSE, Fedora
Posts: 122

Rep: Reputation: 15
That doesn't look good. It looks like rpm relies on libpthread.so.0. That rules out my first idea. I have another idea for you to try. If you can mount your RH9 CD you could try to extract the libpthread.so.0 file from the install image on it. First you'd create another mount point under /mnt:

$ mkdir /mnt/image

Then put your RH9 CD1 in your CD-ROM drive and mount it and the install image:

$ mount /mnt/cdrom
$ mount -ro loop /mnt/cdrom/RedHat/base/

Then try to copy across libpthread.so.0 across to /lib.

$ cp -a /mnt/cdrom/RedHat/base/lib/libpthread* /lib

If this was successful then try to run rpm again. This is a long shot though. If this doesn't work I can't really think of another way to get around not having to do a reinstall.
 
  


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
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM
Clean install of RedHat9 and up2date does not work xsabre Linux - Newbie 3 06-23-2004 05:59 PM
SuSE problems; Mouse doesn't work, Wine won't install, WM won't install... Konig Linux - Distributions 1 01-21-2004 11:05 PM
glibc install teamstatic84 Linux - Software 4 07-21-2003 06:29 PM
How to install glibc 2.3.1 SuperSadSmile Linux - General 3 11-28-2002 12:03 PM

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

All times are GMT -5. The time now is 04:45 PM.

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