How to compile programs using an older version of the glibc libraries



I am attempting to compile some programs on a Red Hat server that were
originally certifed against glibc 2.2.2-10 on RedHat 7.1

My current server has the following configuration:

Cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)

rpm -q glibc
glibc-2.3.2-95.37

Is there a way I can compile my programs using the older glibc 2.2.2-10
libraries? Is it possible/relalistic to expect that I could temporarily
'downgrade' the glibc libraries so I can compile these programs, and then
re-install the glibc-2.3.2-95.37 libraries.

Thanks

Wayne Blumstengel
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Relevant Pages

  • Re: runtime errors with lammpi compiled by intel compilers
    ... >>glibc 2.3.2 but run against an earlier glibc. ... > On the build environment, ... Inorder to avoid the glibc version conflicts, I tried to compile the ... I myself built these mpi libraries with the following options. ...
    (comp.lang.fortran)
  • compiling the latest glibc with the latest gcc
    ... In the docs for glibc, it says to use the latest gcc if possible, so I ... So does anyone know which gcc version will compile glibc-2.3.5 ... weak_alias (__isinf, isinf) ...
    (comp.os.linux.misc)
  • Re: Implement memcmp function with help from gccs inline asm
    ... > The source I looked at was my package manager's glibc archive, ... > watched my package manager compile glibc. ... > to diagnose both my package manager and glibc's build process to work it ... > time as the library function. ...
    (comp.lang.asm.x86)
  • Re: How to enable thread-local storage?
    ... You can try to install it somewhere else and get gcc to use that. ... downloaded glibc and yesterday binutils. ... the newer glibc for when I compile stuff with it instead of the old? ...
    (comp.os.linux.misc)
  • glibc - double checking upgrade
    ... RedHat 7.0 to RedHat 7.3. ... Looking though the errata for the releases, I tested if the upgrade ... for glibc was carried out. ... Each server has been rebooted at least once from when upgrade took ...
    (comp.os.linux.security)