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 Thu, Apr 03, 2003 at 10:08:56PM -0500, Matthew Saltzman wrote:
> On Thu, 3 Apr 2003, John Ketchum wrote:
> 
> > Perhaps I am missing a required library, or it is in a non-standard
> > location, but I don't know what library to look for.  In this case, though,
> > it is the system compiler (gcc3.2) that is having problems.  If I could
> > find the library that defines the symbol
> > '__libc_stack_end@xxxxxxxxx' , perhaps that would lead me to the solution.

This just means you are using dynamic loader and libc.so
from different builds. Don't do that.
E.g. if you have some version of glibc installed in /lib and another
in /usr/local/foo/lib, the ways to run programs against the libc in
/usr/local/foo/lib is certainly not LD_LIBRARY_PATH=/usr/local/foo/lib.
Either you need to invoke them through the dynamic linker, ie.
/usr/local/foo/lib/ld-linux.so.2 --library-path /usr/local/foo/lib /some/path/prog
or link the programs directly against that dynamic linker and library path:
gcc .... -Wl,-dynamic-linker,/usr/local/foo/lib/ld-linux.so.2,-rpath,/usr/local/foo/lib

	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