Find the answer to your Linux question:
Results 1 to 4 of 4
My work needs Glibc up to 2.5.1 but with Fedora8, Glibc has a newer version (2.7?? 2.8??) that prevents me from continuing my work. Anyone shows me how to turn ...
  1. #1
    lfs
    lfs is offline
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2

    Glibc - How to back to old version?? Help! Help!

    My work needs Glibc up to 2.5.1 but with Fedora8, Glibc has a newer version (2.7?? 2.8??) that prevents me from continuing my work. Anyone shows me how to turn Glibc to that older version please?? I'm getting used to working with Linux

    Thanks so much!!

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    I don't think its a good idea because you could end up breaking a lot of the applications on your distro that were built using the newer glibc versions. Can't this app be ported to newer versions of glibc?

  3. #3
    lfs
    lfs is offline
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2
    Thanks but Glibc is only a small part of my work and its newer version is not compatible with my work now

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by lfs View Post
    Thanks but Glibc is only a small part of my work and its newer version is not compatible with my work now
    Unless you are doing really specific and low level stuff, "porting" your code should not be a problem, as long as you stick to standard C, of course.

    But well, if you really don't want to do that, then you need an alternate solution. My best guess would be to use a chroot jail with another distro that ships that version of glibc. You can't change the glibc of your distro, and downgrading it is never supported, and will likely break all your binaries due to incompatible ABI. So, it is not a good idea to do that.

    You can install another distro into a different partition, or even into a directory, then mount -obind the sys, proc and dev directories from your root installation into your new one, and finally chroot into it.

    If you need more concrete instructions on something, just ask. You only need to find a distro that you like and that can install with glibc-2.5, as a reference, Gentoo ships that version and many more:

    Code:
    # eix glibc
    [I] sys-libs/glibc
         Available versions:  (2.2)  [P]2.2.5-r10 [P]2.3.2-r12 2.3.5-r3 2.3.6-r4 2.3.6-r5 2.4-r4 2.5-r2 2.5-r3 2.5-r4 **2.5.1 ~2.6 2.6.1 ~2.7 (~)2.7-r1
            {build debug erandom gd glibc-compat20 glibc-omitfp hardened linuxthreads-tls multilib nls nptl nptlonly pic profile selinux userlocales vanilla}
         Installed versions:  2.7-r1(2.2)(15:24:19 17/01/08)(nls profile -debug -gd -glibc-compat20 -glibc-omitfp -hardened -multilib -selinux -vanilla)
         Homepage:            http://www.gnu.org/software/libc/libc.html
         Description:         GNU libc6 (also called glibc2) C library

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...