linux audio software using gcj&swt!

Andrew Haley aph@redhat.com
Thu Oct 23 12:10:00 GMT 2003


Norbert Frese writes:
 > 
 > > 
 > > Well, the question here is why libgcj is trying to load a library.
 > > There must be a reason, probably because some dependency in Display is
 > > trying to resolve something in a shared library.
 > > 
 > > Time to debug.
 > > 
 > > 
 > 
 > thanks - didn't know that loading shared libraries from a static binary is 
 > forbidden.

Well, it's a bug really.  Just a bug that I don't know how to fix...

 > Display is inside swt.jar and not libgcj. It tries to load the
 > native part of swt swtXXX.so, which is ok. So this is not a libgcj
 > problem (except that the mistake of trying to load a shared library
 > is not reported properly).

Ah, okay.  Well, I suspect that the shared library loader is trying to
resolve the symbols in swtXXX.so and failing for some reason, and then
the loader gets confused, probably because of a dependency on
libgcc.so.  It's not legal AFAIK to have static and dynamic versions
of libgcc.so in the same binary.

Andrew.



More information about the Java mailing list