bug-glibc
[Top][All Lists]
Advanced

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

Compiling glibc-2.1.1 on a glibc-2.2.4 system for building compatible bi


From: Francis Irving
Subject: Compiling glibc-2.1.1 on a glibc-2.2.4 system for building compatible binaries
Date: Wed, 31 Oct 2001 10:42:29 +0000

Hello,

I'm building a binary version of an executable that I would like to
run on a glibc-2.1.1 system, and my system (Mandrake Linux 8.1) has
glibc-2.2.4 installed.  (In case you're interested, the executable is
a commercial game Docking Station http://ds.creatures.net).

The program uses fnmatch, so the symbol versioning of glibc prevents
it from working.  To fix this, I'm trying to compile glibc-2.1.1 on my
system, so I can link against that.

I get the following error while compiling glibc-2.1.1:

gcc   -nostdlib -nostartfiles -shared -o
/usr/local/src/glibc-2.1.1/compile/elf/ld.so
/usr/local/src/glibc-2.1.1/compile/elf/librtld.os
-Wl,--version-script=/usr/local/src/glibc-2.1.1/compile/ld.so.map
-Wl,-soname=ld-linux.so.2
/usr/bin/ld: unable to find version dependency `GLIBC_2.1'
collect2: ld returned 1 exit status

This error doesn't make any sense to me.  I would be grateful of any
help either with this error message, or in general as to how I should
approach building a binary which will work with an older version of
glibc.

Thanks for any help,

Francis



reply via email to

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