Java and JNI in Linux

BRUGAT Didier <[email protected]>
Newsgroups gmane.comp.java.linux.general
Message-ID <OF06050F1F.25686E83-ONC1256E5B.003418DC-C1256E5B.0034E229@hq.ad.ep.corp.local>
Hello Linux world !
I have a problem when i try to load a shared library in my java program.
My config is :
        Linux 64 bits
        jdk1.4.1
        compilers 64 bits : ecc (C language) and efc (Fortran)
When i build an application with this dynamic library, all is OK.
But when i launch my java application whith this same library, i get this 
error message :
Exception in thread "main" java.lang.UnsatisfiedLinkError: libTEST.so: 
libTEST.so: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:832)
        at TEST.<clinit>(TEST.java:3)

Could you help me ?
Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.