|
Home > Archive > Red Hat Topics > May 2005 > Upgrading GLIBC, recompiling progs ok, but cant find GLIBC
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Upgrading GLIBC, recompiling progs ok, but cant find GLIBC
|
|
| Alfred Z. Newmane 2005-05-08, 5:45 pm |
| I am running Linux RH 7.3 (with an newer kernel -> 2.4.20-20.7) and I
recently downloaded GLIBC 2.3.2 and compiled it (I installed in
/usr/local/... so as to keep the old GLIBC 2.2.5 in tact.)
Now when I compile programs that were working before so as to link them
with 2.3.2 (or if I compile programs that require 2.3+) it complains
that it can't find it:
../foo /lib/i686/libc.so.6: version `GLIBC_2.3' not found (required by
../foo)
The problem I see is that even though it COMPILED with 2.3 it is trying
to run (use ibc.so.6) with 2.2:
[root@LINUX bin]# ll /lib/i686/libc.so.6
lrwxrwxrwx 1 root root 13 Apr 1 2004
/lib/i686/libc.so.6 -> libc-2.2.5.so
[root@LINUX bin]# ll /usr/local/lib/libc.so.6
lrwxrwxrwx 1 root root 13 May 1 09:24
/usr/local/lib/libc.so.6 -> libc-2.3.2.so
How can I make it use with 2.3? IT seems 2.2 is still considered the
main lib on the system, though both seem to be in there just fine. Is it
wise to just remove 2.2? Or is there a way to make them work together?
I'd much RATHER have both as just about everything I've ever compiled on
this system that links with glibc is linked to 2.2 but there are some
programs that require 2.3 that I have not been able to use.
Any advise on how to get things working right here would be greatly
appreciated. I've never tried this sort of upgrade before.
|
|
|
|
|