This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Linking for glibc-2.1.x Systems on a glibc-2.2.x
- To: Martin Hollmichel <Martin dot Hollmichel at germany dot sun dot com>
- Subject: Re: Linking for glibc-2.1.x Systems on a glibc-2.2.x
- From: Andreas Jaeger <aj at suse dot de>
- Date: 23 Feb 2001 09:10:21 +0100
- Cc: glibc-linux at ricardo dot ecn dot wfu dot edu
- References: <20010222.21154100@jumbo-mirror.federation.Germany.Sun.COM>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Martin Hollmichel <Martin.Hollmichel@germany.sun.com> writes:
> Hi,
>
> I'm working for a big company and so I have to use an user id > 64k. With
> joy I took a new Linux distribution (Kernel 2.4 and glibc-2.2.1) and tried
> to do my job: compiling and linking a popular application (openoffice.org).
> I tried to do this with "old" glibc-2.1.x header files and libraries.
>
> The first time I tried this, I have overseen in the specs file of the
> compiler (2.95.2) that /lib/ld-linux.so.2 is used and so I got
> _dl_init_next() as an undefined symbol.
>
> So I changed the specs to use the ld-linux.so.2 which points to the
> ld-2.1.so, the application links but aborts in the very beginning of the
> app on a glibc-2.1.x system, and on glibc-2.2.x system I got with ldd
> <my-app> : no such file or directory.
>
> Is there any chance to use a glibc-2.2.x as production system for
> applications that should also run on glibc-2.1.x systems?
As I've mentioned on the newsgroup already: Use a chroot environment,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj