Braden McDaniel wrote:
ld seems not to know about /usr/lib/gcj-4.1.1; and as such cannot
find libjvm.so without a -L flag. Is this deliberate or a bug?
This is deliberate. You should be dlopen'ing libjvm.so rather than
linking to it directly. To locate it, use
$JAVA_HOME/jre/lib/i386/client/libjvm.so like you would on other JVMs.
/usr/lib/jvm/java/jre/lib/i386/client/libjvm.so to libgcj's libjvm