LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-13-2005, 10:33 AM   #1
pagla_ghoda
LQ Newbie
 
Registered: Aug 2005
Location: India
Distribution: fc4
Posts: 11

Rep: Reputation: 0
upgrade glibc


hi,

i want to upgrade from glibc-2.3.5-10 to 2.3.90-11 on my FC4 box.
can anyone tell me the exact procedure for doing so.

i need this to work with svgalib-1.9.21 which requires lib.so.6(GLIBC_2.4)


thanks.
 
Old 09-13-2005, 11:24 AM   #2
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Where did you get this svgalib package from?

Most beginners (sorry if I'm wrong) made this mistake, they believe they should upgrade or upgrade X/KDE/glibc because an installer says so. I'd recommend getting a better package suited for your distribution

..doesn't fedora have this packate listed in their package manager already?

Last edited by yapp; 09-13-2005 at 11:25 AM.
 
Old 09-13-2005, 11:36 AM   #3
pagla_ghoda
LQ Newbie
 
Registered: Aug 2005
Location: India
Distribution: fc4
Posts: 11

Original Poster
Rep: Reputation: 0
hi,

i got the package from fedora repository.
i would be great if u can clarify ,how i can get the right package.
i ahve been able to compile svgalib-19 on my system,but am not able to run the demo examples,because they ask for libc.so.6(GLIBC_2.4).

do u have any idea,how i can get around this problem.

thanks.
 
Old 09-13-2005, 04:48 PM   #4
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Unless you really know what you are doing, fiddling with upgrading glibc will likely result in a borked system. It's happened to me before. Even trying to upgrade with a built in package manager doesn't ensure it will work, as there are a lot of other things related to glibc you need to do. As the other poster said, try to either get a better package, or compile from source and skip and glibc test.
 
Old 09-13-2005, 04:53 PM   #5
pagla_ghoda
LQ Newbie
 
Registered: Aug 2005
Location: India
Distribution: fc4
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
try to either get a better package, or compile from source and skip and glibc test.
i have compiled svgalib from source and am not able to run the demos,they are not able to link to the libc.so.6 lib.
 
Old 09-13-2005, 06:08 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
there is something wrong with this post we need to clarify
are you trying to compile things that won't link
or are things complaining at runtime

i have a link
libc.so.6 -> libc-2.3.4.so
in /lib

do you have that pointing to your 2.3.5 ?

FC4 is about as up to date as it gets right now in terms of libc and gcc

current stable version of glibc is 2.3.5
http://directory.fsf.org/GNU/glibc.html

we have no idea what that 2.3.90-11 is
 
Old 09-13-2005, 10:24 PM   #7
pagla_ghoda
LQ Newbie
 
Registered: Aug 2005
Location: India
Distribution: fc4
Posts: 11

Original Poster
Rep: Reputation: 0
i tried installing svgalib using rpm package,it won't install bcause of faild dependency(i.e. libc.so.6) and if i compile from source,i am not able to run the demos which cannot lnk to libc.so.6

this version of svgalib is a devel version and requires libc.so.6(GLIBC_2.4), which is present in glibc-2.3.90-11(devel)

and libc.so -2.3.4 is diff from libc.so.6(GLIBC_2.4)

i am running glibc-2.3.5 the latest stble version on my box.
 
Old 09-14-2005, 12:38 PM   #8
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Quote:
Originally posted by foo_bar_foo
there is something wrong with this post we need to clarify
are you trying to compile things that won't link
or are things complaining at runtime

i have a link
libc.so.6 -> libc-2.3.4.so
in /lib

do you have that pointing to your 2.3.5 ?
Just another tip: those files are usually added by the -devel packages. Do you have glibc-devel installed?
 
Old 09-14-2005, 01:44 PM   #9
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
again the current glibc cvs snapshot is labeled
glibc-2.3-20050912.tar.bz2

which was made 2 days ago !

there is currently no such thing as (GLIBC_2.4)

irregardless of what redhat has labeled some package it just aint true

Quote:

i am not able to run the demos which cannot lnk to libc.so.6
linking is something that happens at compile time
if the sources compiled then all the symbols need by the executables exist on your system

please give us exact copy paste of error messages so we can see for ourselves what is actually going on and then offer solutions
 
Old 09-14-2005, 02:06 PM   #10
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
Do a locate to be sure that the file actually exists, then look closely (ls -l) at the files to be sure what symlinks point to what.

Then, just to be sure, as root do /sbin/ldconfig to make sure that the loader's library-cache is up to date.

Be sure that all of the directories (other than /lib, /usr/lib) that contain any libraries are listed in /etc/ld.so.conf. If you change it, run ldconfig again.

Fiddling with glibc definitely leads to borkness. My testbed system is rather awkwardly 'semi-borked' right now, probably in-part due to this.
 
  


Reply


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 Off
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
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 from glibc 2.2.4 to 2.3.x lpriyamb Linux - Software 1 09-12-2003 05:44 AM
How to upgrade glibc? PeteRossi Slackware 2 06-14-2002 12:03 PM

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

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