RE: [Quickfix-developers] setup for building quickfix on Solaris
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2003-03-06 18:01:08
|
Perhaps if you post the linking instruction being sent to libtool, that would help determine what is happening. --- Chuck Houpt <zzc...@xc...> wrote: > Thanks! I've gotten a little farther, but I've run > into the same problem Martin Janssen had with the > JNI library. It looks like the libquickfix_jni.so > isn't beeing linked with libquickfix.la. > > Was a solution found for Martin's problem? > > - Chuck > > From: Martin Janssen <martin@no...> > <http://images.sourceforge.net/images/msg.gif> > Java on Solaris > 2003-01-08 04:35 > > > > > > > > Hi there, > > > > Eventhough I exactly followed all the instructions > I could find to try a short sample > > application of my own, written in Java, this is what > I get when I try to run it: > > > > Exception in thread "main" > java.lang.UnsatisfiedLinkError: > > /export/home/mj/QuickFIX/mjtst/libquickfix_jni.so: > ld.so.1: > > /usr/bin/../java/bin/../bin/sparc/native_threads/java: > fatal: relocation error: file > > /export/home/mj/QuickFIX/mjtst/libquickfix_jni.so: > symbol _ZTVN3FIX16ScreenLogFactoryE: > > referenced symbol not found > > at > java.lang.ClassLoader$NativeLibrary.load(Native > Method) > > at > java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1414) > > at > java.lang.ClassLoader.loadLibrary(ClassLoader.java:1338) > > at > java.lang.Runtime.loadLibrary0(Runtime.java:744) > > at > java.lang.System.loadLibrary(System.java:815) > > at MJMain.<clinit>(MJMain.java:8) > > > > Any clue on what I could be doing wrong ? > > > > Thanks in advance, > > > > Martin > > -----Original Message----- > From: Oren Miller [mailto:ore...@ya...] > Sent: Thursday, March 06, 2003 11:20 AM > To: Chuck Houpt; > qui...@li... > Subject: Re: [Quickfix-developers] setup for > building quickfix on Solaris > > > > I've seen this recently as well at a client site, > and not just with QuickFIX, but several projects > that use autotools to build. From the reports I've > read it is due to some incompatibility to newer > versions of autotools. I've spent a little time > with this but havn't resolved it yet.invested much > time in fixing it. If anybody has experienced this > on other projects, please let me know what the > resolution was. > > > Until this is fixed you can either try installing > with an older version of autotools, or do the > installation manually. Everything that is installed > is placed in the include and the lib directories > under the root quickfix directory. > > > Chuck Houpt <zzc...@xc...> wrote: > > > I'm having trouble getting quickfix 1.3.2 compiled > under Solaris 8 with gcc-3.2.2 > > Here's the setup I have: > > From www.sunfreeware.com, I've installed: > gcc-3.2.2-sol8-sparc-local in /usr/local > > I built and installed libxml2-2.4.30 in /usr/local > > The quickfix instructions say glibc is required for > Solaris, but there isn't a pre-packaged version on > sunfreeware, and the glibc source (2.x) complains > that Solaris isn't supported, so I went ahead > without it (probably a bad idea...). > > ./configure and make seem to run ok, but when I try > to install, it seems to have trouble with install-sh > (see below). > > Any ideas on where I've gone wrong would be greatly > appreciated. > > Thanks - Chuck > > /make install > Making install in src > make[1]: Entering directory `/tmp/quickfix/src' > Making install in C++ > make[2]: Entering directory `/tmp/quickfix/src/C++' > Making install in test > make[3]: Entering directory > `/tmp/quickfix/src/C++/test' > make[4]: Entering directory > `/tmp/quickfix/src/C++/test' > make[4]: Nothing to be done for `install-exec-am'. > make[4]: Nothing to be done for `install-data-am'. > make[4]: Leaving directory > `/tmp/quickfix/src/C++/test' > make[3]: Leaving directory > `/tmp/quickfix/src/C++/test' > make[3]: Entering directory `/tmp/quickfix/src/C++' > rm -rf ../../lib/libquickfix.a > rm -rf ../../lib/libquickfix.la > ln -s ../src/C++/.libs/libquickfix.a > ../../lib/libquickfix.a > ln -s ../src/C++/.libs/libquickfix.la > ../../lib/libquickfix.la > ./copy.sh *.h > make[4]: Entering directory `/tmp/quickfix/src/C++' > /bin/sh ../../mkinstalldirs /usr/local/lib > /bin/sh ../../libtool --mode=install > ../.././install-sh -c libquickfix.la /usr/ > local/lib/libquickfix.la > ../.././install-sh -c .libs/libquickfix.lai > /usr/local/lib/libquickfix.la > ../../libtool: ../.././install-sh: not found > make[4]: *** [install-libLTLIBRARIES] Error 1 > make[4]: Leaving directory `/tmp/quickfix/src/C++' > make[3]: *** [install-am] Error 2 > make[3]: Leaving directory `/tmp/quickfix/src/C++' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/tmp/quickfix/src/C++' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/tmp/quickfix/src' > make: *** [install-recursive] Error 1 > > > > > ------------------------------------------------------- > 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! > <http://rd.yahoo.com/finance/mailtagline/*http://taxes.yahoo.com/> > Tax Center - forms, calculators, tips, and more > > === message truncated === __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |