Hello !
I have a problem of library with using JNIs and Tomcat. (tomcat 3.3.1, jdk 1.2.2)
I have programmed with JNI, and created a .so library that seems not to be found : I get this error message :
Java.lang.UnsatisfiedLinkError : no CsimSimple in java.library.path
Im my Java class, I used : System.loadLibrary(« CsimSimple ») ; (I tried with load and the full path of the library, but didn’t get more success)
I set the environnement variable LD_LIBRARY_PATH to the path of my .so library.
Does anybody have an idea of why it won’t work ?
It’s probably a problem of library path.
Is there a special place my .so library ought to be ?
What should I set my LD_LIBRARY_PATH variable to, since it doesn’t seem to be correct ?
Is my call to the loadLibrary correct ?
Any answer will be welcome !
Gaelle.
I have a problem of library with using JNIs and Tomcat. (tomcat 3.3.1, jdk 1.2.2)
I have programmed with JNI, and created a .so library that seems not to be found : I get this error message :
Java.lang.UnsatisfiedLinkError : no CsimSimple in java.library.path
Im my Java class, I used : System.loadLibrary(« CsimSimple ») ; (I tried with load and the full path of the library, but didn’t get more success)
I set the environnement variable LD_LIBRARY_PATH to the path of my .so library.
Does anybody have an idea of why it won’t work ?
It’s probably a problem of library path.
Is there a special place my .so library ought to be ?
What should I set my LD_LIBRARY_PATH variable to, since it doesn’t seem to be correct ?
Is my call to the loadLibrary correct ?
Any answer will be welcome !
Gaelle.