Re: [Quickfix-developers] JNI dynamic linking problems on Solaris
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2003-03-07 22:55:33
|
You should be able to fix this by adding -lgcc to the libquickfix_jni_la_LIBADD line in the src/java Makefile.am. You will then need to relink. Chuck Houpt <zzc...@xc...> wrote:Thanks to Bud and Oren, I've got quickfix bootstrapped, configure, build and installed on Solaris (gcc 2.95.3+stlport). The cpp programs seem to run fine, but I'm still having trouble getting the java programs to run. I'm now getting the same error messages that Gary Mui was seeing in October. Was a solution to this found? Thanks - Chuck From: trouble running JNI example on Solaris 2002-10-30 14:22 I seem to be having some problems with JNI under Solaris. I think I got everything compiled successfully and I can run the C++ version of executor. But when I try running the java version, I get the following: Exception in thread "main" java.lang.UnsatisfiedLinkError: /u03/export/home/gmui/build/quickfix/src/java/.libs/libquickfix_jni.so.0. 0.1: ld.so.1: /usr/bin/../java/bin/../bin/sparc/native_threads/java: fatal: relocation error: file /u03/export/home/gmui/build/quick fix/src/java/.libs/libquickfix_jni.so.0.0.1: symbol __pure_virtual: referenced symbol not found at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1419) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1343) at java.lang.Runtime.loadLibrary0(Runtime.java:749) at java.lang.System.loadLibrary(System.java:820) at Executor.(Executor.java:58) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------- Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more |