Re: [Quickfix-developers] problems using the quickfix library loaded into a javax MBean
Brought to you by:
orenmnero
From: Mike H. <mi...@an...> - 2003-03-14 15:18:50
|
Oren, yep, ldd output: ldd /installed/quickfix-1.4.0/lib/libquickfix_jni.so libstdc++-libc6.1-2.so.3 =3D> /installed/gcc-2.95.3/lib/libstdc++-libc6.1-2.so.3 (0x403a3000) libxml2.so.2 =3D> /installed/libxml2-2.4.22/lib/libxml2.so.2 (0x403ef000) libz.so.1 =3D> /usr/lib/libz.so.1 (0x40499000) libm.so.6 =3D> /lib/libm.so.6 (0x404a8000) libc.so.6 =3D> /lib/libc.so.6 (0x404c5000) /lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0x80000000) compiling and installing quickfix went without a hitch. i could post the config.log if it would help ?? Cheers Mike On Fri, 2003-03-14 at 15:12, OM...@th... wrote: >=20 > Is quickfix_jni.so finding all of its dependencies? Run ldd on it to mak= e > sure that it is finding everything it needs. >=20 > --oren >=20 >=20 >=20 > |---------+-----------------------------------------------> > | | 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 lib= rary loaded into a javax| > | MBean = | > >----------------------------------------------------------------------= ------------------------| >=20 >=20 >=20 >=20 > hi, >=20 > 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: >=20 > static { > try { > System.loadLibrary("quickfix_jni"); > } catch(UnsatisfiedLinkError e) { > System.out.println("Could not quickfix library" + e); > } > System.out.println("Loaded library quickfix_jni"); > } >=20 > when i go to use the library for the first time though, i get a > java.lang.UnsatisfiedLinkError for the method invocation. >=20 > 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. >=20 > does anyone know what i'm missing/recognize this situation ? >=20 > i'm using j2sdk1.4, jboss3 and quickfix1.4.0 (built on a linux box under > gcc-2.95.3) >=20 >=20 > Cheers > Mike >=20 > (See attached file: signature.asc) >=20 >=20 --=20 ___________________________________________________________________ Mike Hepburn Phone: +44 (0)207 749 7900 Anvil Software Limited Fax: +44 (0)207 749 7916 51-53 Rivington Street E-mail: mi...@an... London EC2A 3SE ef...@ho... |