Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-09-2003, 09:31 AM   #1
Registered: Dec 2002
Posts: 76

Rep: Reputation: 15
How do you upgrade GLIBC?

How can you upgrade glibc without upgrading every other package on the computer? I need to upgrade gcc, but it takes a new glibc. So, what do I do? I'm using RedHat 7.2. I can't upgrade Redhat. How do I upgrade glibc without breaking dependinces?
Old 07-10-2003, 07:20 AM   #2
Registered: May 2001
Posts: 28,826
Blog Entries: 55

Rep: Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341
How do I upgrade glibc without breaking dependinces?
Glibc libraries are essential for having Linux work properly, so what you're asking is something like asking how to renovate the foundation of a building without moving the structure on top of that first.

Warning: I used the next procedure with some libs but never with Glibc tho, so YMMV(VM). If you feel upgrading Glibc will be like doing open heart surgery, make a backup first and have a rescue CD/floppy ready, Justin Case. Make a local copy of /etc/ld.*. Copy the Glibc libraries to a new dir, call it /usr/lib_old or so. Add that path in /etc/ Run ldconfig and check if it's added the path. Now remove the original Glibc path from /etc/ and update running ldconfig. You'll find out if this will work soon enough :-]
If it works, test upgrading Glibc. If satisfied, install. Check if old apps still work.
Old 07-10-2003, 05:29 PM   #3
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
My experience has been that glibc is backwards compatible, so you shouldn't have anything to worry about.
Old 07-10-2003, 05:35 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
Wynd, I'm glad it's always been smooth
for you, but rest assured that this is NOT
the normal thing to happen :) I've had two
disasters in the past, and the only time I
upgraded glibc with no hassle was when
upgrading the entire system from Slack 8.0
to 8.1 ;)

I'd go with unspawn and say "Very cautiously!"



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
newb question on GNU glibc-2.3.1 upgrade to GNU glibc-2.3.2 clindy528 Slackware 1 11-10-2005 06:49 AM
upgrade glibc pagla_ghoda Linux - Software 9 09-14-2005 02:06 PM
GLIBC Upgrade steveoelliott Slackware 10 06-22-2005 01:32 AM
upgrade glibc-2.2.4 to glibc-2.3.2 on redhat 7.2 Shuja Red Hat 0 07-28-2004 06:10 AM
How to upgrade glibc? PeteRossi Slackware 2 06-14-2002 12:03 PM

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration