RedHat 5.0, glibc-2.0.7-7,
using jdk-1.1.5-1.3-static_libc,
and gcc version 2.7.2.3.

This is a C application meant to use JNI. It does not
use any JNI (yet). It does not even include jni.h.
All it does is "-ljava -ldl".

I get a segmentation fault. I remove "-ljava", all
is fine. I can't remove "-ldl".

I can do the odd glibc-2.0.7-13.rpm, gcc-2.8. It does
not seem that JDK 1.1.6 changed things. I can also try
Japhar again. So I'm back to aimless permutations...

Frankly, it disturbes me that there is such a persistent
problem with libdl.so and libjava.so (maybe relating to
green_threads, as it looks that similar, but not identical
problems crop up on Solaris, up to 1.1.6, where seg faults
seems to occur in the threads part of the JVM bootup).


                                                  b.


Reply via email to