testing out incompatible glibc with shared executables...possible?

Andreas Jaeger aj@suse.de
Thu Apr 26 22:50:00 GMT 2001


"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



More information about the Libc-alpha mailing list