Upgrading GLIBC, recompiling progs ok, but cant find GLIBC

From: Alfred Z. Newmane (a.newmane.remove_at_eastcoastcz.com)
Date: 05/08/05

  • Next message: Kill Bill: "Re: GRUB configuration to dual boot Windows XP w/FC3"
    Date: Sun, 8 May 2005 14:34:29 -0700
    
    

    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.


  • Next message: Kill Bill: "Re: GRUB configuration to dual boot Windows XP w/FC3"

    Relevant Pages