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

Ed Wilts ewilts at ewilts.org
Sat Mar 25 00:50:19 UTC 2006


On Fri, Mar 24, 2006 at 10:57:59AM -0800, Wayne Blumstengel wrote:
> 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?  

Dunno.

> 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.

Not a chance.  You wouldn't get very far and applications would crash
all over the place before you had a chance to finish even the compile
(both rpm and gcc rely on glibc).

        .../Ed

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list