a more basic problem

Fred Gray fegray@uiuc.edu
Sat May 20 17:07:00 GMT 2000


Many thanks to those of you who pointed out that my exception handling testcase
seems to work in the latest CVS version of gcj.

I am trying to take your advice: I downloaded the latest gcc and the latest
libgcj and built them.  The compiler seems to work, but when I run any
executable made with it, I get an error message like this one:

gij: error in loading shared libraries: /usr/local/gcj/lib/libgcjawt.so.1: undefined symbol: __dso_handle

Notice that I got this particular error from running "gij".  When I try to
run the exception handling testcase that I posted yesterday, the library
mentioned in the complaint is libzgcj.so.0, but the undefined symbol is 
the same.

If I statically link the executable by compiling with gcj -static, the
problem goes away.  However, I understand that this can make other trouble.

It would appear that the file gcc/crtstuff.c is relevant to this problem,
but I confess that I'm not sure what to make of it.

Any suggestions will be greatly appreciated.  Thanks!

-- Fred


More information about the Java mailing list