bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compile on a GLIBC 2.3 system for GLIBC 2.2?


From: Andreas Jaeger
Subject: Re: How to compile on a GLIBC 2.3 system for GLIBC 2.2?
Date: Thu, 30 Oct 2003 16:29:24 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, linux)

Ulrich Jakobus <address@hidden> writes:

> Hello,
>
> sorry to bother you with this silly question, but I have searched the Web,
> browsed the FAQ etc. and cannot find any answer.
>
> The problem is this: Obviously when I compile an executable on a GLIBC 2.3
> system and link dynamically, it won't run on a system with GLIBC 2.2, I get
> an error like this:
>
>    /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./xxx)
>
> Is there ANY chance to do some cross-compiling on the GLIBC 2.3 system,
> so that the executable uses the older GLIBC 2.2 API and that it will
> then run on the older systems? I understand that newer GLIBC versions
> still contain for backwards compatibility purposes to older executables
> the older API functions in any case.
>
> Any further hints or links to this problem?

Install a system in a chroot environment and build there,

Andreas
-- 
 Andreas Jaeger, address@hidden, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 N├╝rnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp5OftYR1cdT.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]