On Fri, Apr 04, 2003 at 10:00:16AM -0500, John Ketchum wrote:
> Thank you, Jakub.  That was indeed the problem.  The following command line 
> does the trick:
> /usr/bin/gcc -o test test.c -Wl,-dynamic-linker,/lib/ld-linux.so.2,-rpath,/lib

-dynamic-linker,/lib/ld-linux.so.2 is the default, no point of adding it
there. /lib is searched by default too.
Which means you're trying to run programs with
LD_LIBRARY_PATH=/wherever/your/custom/glibc/is/
or have added it to /etc/ld.so.conf and rerun ldconfig.
That is the bug, programs against the non-/lib glibc has to be run through
its dynamic linker.

        Jakub



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to