jni and static libraries
Posted on 1997-10-14
I'm writing a Java application that calls some functions in a static
library on Solaris 2.4. A shared library libMyShared.so is created to
call functions in the static library libMyStatic.a: CC -G test.c -o
libMyShared.so -lMyStatic where test.c implements the native calls. When
I run the Java application, I get the following error: ld.so.1:
/usr/local/jdk1.1.1/bin../bin/sparc/green_threads/java: fatal: relocation
error: symbol not found: __0oNIostream_initctv: referenced in
Does anyone know what is happening?
Thanks in advance for any advice/suggestions.