LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2005, 01:02 AM   #1
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
updating glibc problem


hi,
found the following on my box (FC3):

rpm -qa glibc-common
glibc-common-2.3.4-2.fc3
glibc-common-2.3.3-74

rpm -qa glibc
glibc-2.3.3-74

what´s the best way to update glibc (because all of the dependencies)?
-force updating/installing of glibc-2.3.4 ?
-erase glibc-2.3.3 and then update to 2.3.4 ?
 
Old 02-11-2005, 01:42 AM   #2
dudulz
Member
 
Registered: Feb 2005
Location: Australia
Distribution: [Redhat] [Slackware] [SuSe] [FreeBSD]
Posts: 81

Rep: Reputation: 15
if new glibc is source the best is erase the old glibc and install new glibc

elseif the new glibc is not source the best is uninstall old glibc and update new glibc

else

force update
 
Old 02-11-2005, 05:36 AM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
standard procedure is to overwrite. The problem is, if you remove the package from your system, nothing will work that is compiled with shared library support ( which is most things ). 2.3.3 isn't that old, why do you want to upgrade?

if you want to see what will break ( ) if you remove glibc, run ldd < command > to see what libraries that command needs to run, for example lets take "ls":

:~$ ldd /usr/bin/ls
librt.so.1 => /lib/librt.so.1 (0x40026000)
libc.so.6 => /lib/libc.so.6 (0x40038000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40167000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

ls needs libc.so.6 (glibc) so ls will no longer work. you might be able to upgrade (rpm -Uvh) and it work ok just make sure you do not rpm -e glibc.
 
Old 02-11-2005, 05:51 AM   #4
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Original Poster
Rep: Reputation: 30
thx so far!
this morning I test it on another box.
dload the rpm´s and then:

rpm -Uhv --force glibc glibc-common glibc-headers glibc-devel

seems to work! :-)
 
  


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
Updating glibc - from source sundialsvcs Linux - Software 3 08-29-2005 11:41 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
Problem in glibc updating urkhaa1975 Fedora 3 02-03-2004 07:37 AM
Problem Updating glibc 2.2.5-34 to 2.3.2 FinalSolution Linux - Software 2 10-17-2003 05:22 AM
Updating glibc KennyG944 Linux - General 3 03-25-2001 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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