gcj and glibc linking...

Rutger Ovidius ovid@mailandnews.com
Mon Sep 29 22:28:00 GMT 2003


I have a RH9 system. I try to stay current (rpmfind.net):

gcc-3.3.1-5
gcc-java-3.3.1-5

glibc-devel-2.3.2-91
glibc-common-2.3.2-91
glibc-2.3.2-91

I successfully compile and link a java app with gcj, and it works fine for me. 
But when other people try to use this executable, a certain % of them fail 
with the following error:

./g2gui: relocation error: ./g2gui: symbol __libc_stack_end, version 
GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference

They are also using glibc 2.3.2

Is this a gcj linking problem or something else? I can't figure out what is 
causing it for some people and not for others.

The windows binary seems to work fine for all.

The swt app is here: (bin/src/etc) 
http://developer.berlios.de/project/showfiles.php?group_id=610

The build script: http://download.berlios.de/pub/mldonkey/z/build

Any help would be appreciated, thanks.



More information about the Java mailing list