Re: Repost: error--/lib/libc.so.6: undefined reference to '__libc_stack_end@GLIBC_2.1'

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

 



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
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux