This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: testing out incompatible glibc with shared executables...possible?
- To: "Ken Whaley" <ken at believe dot com>
- Subject: Re: testing out incompatible glibc with shared executables...possible?
- From: Andreas Jaeger <aj at suse dot de>
- Date: 27 Apr 2001 07:49:03 +0200
- Cc: <libc-alpha at sourceware dot cygnus dot com>
- References: <NDBBKBAPHBIINMMNGLHEEEPOCLAA.ken@believe.com>
"Ken Whaley" <ken@believe.com> writes:
> I'm trying to build and run a dynamically shared executable based on
> an install of a "test" build of glibc (2.2.1 in this case) on a x86-linux
> system (redhat 6.2) based on glibc 2.1.x. I'm using gcc 2.95.2. I've read
> the glibc FAQ, and didn't find any usable solution in there.
>
> The static build runs fine, but I can't get the shared version of a
> hello world app to work (it links w/out error but seg faults when run
> (the glibc 2.1.x gdb on the system is of no help in debugging it, no
> surprise there)).
Add -Wl,--dynamic-linker=/usr/local/testglibc2.2.1/lib/ld-linux.so.2
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj