Re: [Quickfix-developers] problems using the quickfix library loaded into a javax MBean
Brought to you by:
orenmnero
From: <OM...@th...> - 2003-03-14 15:13:00
|
Is quickfix_jni.so finding all of its dependencies? Run ldd on it to make sure that it is finding everything it needs. --oren |---------+-----------------------------------------------> | | Mike Hepburn <mi...@an...> | | | Sent by: | | | qui...@li...ur| | | ceforge.net | | | | | | | | | 03/14/2003 08:45 AM | | | | |---------+-----------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: qui...@li... | | cc: | | Subject: [Quickfix-developers] problems using the quickfix library loaded into a javax| | MBean | >----------------------------------------------------------------------------------------------| hi, i have a piece of code that statically loads the quickfix_jni library into a javax MBean (NOT an ejb !!). the loadLibrary call appears to work OK: static { try { System.loadLibrary("quickfix_jni"); } catch(UnsatisfiedLinkError e) { System.out.println("Could not quickfix library" + e); } System.out.println("Loaded library quickfix_jni"); } 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 my runtime java.library.path and $LD_LIBRAY_PATH to ensure the library is visible to my MBean but still no joy. does anyone know what i'm missing/recognize this situation ? i'm using j2sdk1.4, jboss3 and quickfix1.4.0 (built on a linux box under gcc-2.95.3) Cheers Mike (See attached file: signature.asc) |