Hi,

i'm trying to load a third party library into an MBean as follows:

static { 
        try { 
            System.loadLibrary("quickfix_jni"); 
        } catch(UnsatisfiedLinkError e) { 
            System.out.println("Could not quickfix library" + e); 
        } 
        System.out.println("Loaded library quickfix_jni"); 
} 

the libray appears to load, but when i go to use the library for the
first time though, i get a java.lang.UnsatisfiedLinkError for the method
invocation.

i have set the runtime java.library.path and $LD_LIBRAY_PATH to ensure
the library is visible to my MBean but still no joy. an ldd on the
shared object shows no unresolved errors;

does anyone know what i'm missing/recognize this situation ? 

Cheers
Mike

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to