Re: [Quickfix-users] A couple questions using examples and MySQL
Brought to you by:
orenmnero
From: Mike P. <mic...@ya...> - 2004-11-11 20:14:02
|
[mikep@frln03 Spread] > ldd /home/mrp/lib/libquickfix_jni.so libquickfix.so.5 => /home/mrp/lib/libquickfix.so.5 (0x00dc2000) libxml2.so.2 => /home/mrp/lib/libxml2.so.2 (0x00111000) libz.so.1 => /usr/lib/libz.so.1 (0x00596000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x005a6000) libm.so.6 => /lib/tls/libm.so.6 (0x0047c000) libmysqlclient.so.12 => /home/mrp/lib/mysql/libmysqlclient.so.12 (0x00ef9000) libc.so.6 => /lib/tls/libc.so.6 (0x00342000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0032a000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x001f9000) libnsl.so.1 => /lib/libnsl.so.1 (0x00d9b000) [mikep@frln03 Spread] > ldd /home/mrp/lib/libquickfix.so libxml2.so.2 => /home/mrp/lib/libxml2.so.2 (0x0092f000) libz.so.1 => /usr/lib/libz.so.1 (0x00596000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x005a6000) libm.so.6 => /lib/tls/libm.so.6 (0x0047c000) libmysqlclient.so.12 => /home/mrp/lib/mysql/libmysqlclient.so.12 (0x00439000) libc.so.6 => /lib/tls/libc.so.6 (0x00111000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0032a000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x00249000) libnsl.so.1 => /lib/libnsl.so.1 (0x00d9b000) --- Oren Miller <or...@qu...> wrote: > Mike, > > Adding the MySQL configuration parameters isn't > enough, you also need > to set up change the example applications to use a > MySQLStoreFactory. > This entails replacing the FileStoreFactory > currently in use with a > MySQLStoreFactory. Same goes for the log, although > not all examples > make use of a log so you would have to add it. > > As for your banzai error, logic_error::what() is > part of the standard > C++ library. Is there some reason it isn't being > found? What do you > get when you run ldd on libquickfix_jni or > libquickfix? > > --oren > > On Nov 11, 2004, at 1:18 PM, Mike Perik wrote: > > > QuickFIX Documentation: > > > http://www.quickfixengine.org/quickfix/doc/html/index.html > > QuickFIX FAQ: > > > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > > QuickFIX Support: > http://www.quickfixengine.org/services.html > > > > Sent this originally from a different email > address. > > > > What needs to be done to get the examples to use > MySql > > for storing messages? > > I've a MySQL server running, and the schema has > been > > loaded. I added both a > > MySQLLogPassword and MySQLStorePassword to the > > ordermatch.cfg config file. > > The docs seem to state that all the other MySQL > > related config parameters > > have defaults. > > > > Also, I can't get banzai to run. I get the > following: > > > > Exception in thread "main" > > java.lang.UnsatisfiedLinkError: > > > /home/users/mikep/bu_exclude/quickfix/src/java/.libs/ > > > libquickfix_jni.so.9.0.0: > > > /home/users/mikep/tmp/quickfix/src/C++/.libs/libquickfix.so.5: > > > > undefined symbol: _ZNKSt11logic_error4whatEv > > at > > java.lang.ClassLoader$NativeLibrary.load(Native > > Method) > > at > > > java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560) > > at > > > java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485) > > at > > java.lang.Runtime.loadLibrary0(Runtime.java:788) > > at > > java.lang.System.loadLibrary(System.java:834) > > at Banzai.<clinit>(Unknown Source) > > > > > > Here are the libraries that were installed: > > > > libquickfix.la > > libquickfix.so.5 > > libquickfix_jni.la > > libquickfix_jni.so.9 > > quickfix.jar > > libquickfix.so > > libquickfix.so.5.0.0 > > libquickfix_jni.so > > libquickfix_jni.so.9.0.0 > > > > > > I saw some previous posts that seemed to imply the > > library versions were > > incorrect, but I'm not sure what the problem is > here. > > > > Thanks, > > Mike > > > > > > > > __________________________________ > > Do you Yahoo!? > > Check out the new Yahoo! Front Page. > > www.yahoo.com > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now > for FREE > > LinuxWorld Reader's Choice Award Winner for best > database on Linux. > > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > _______________________________________________ > > Quickfix-users mailing list > > Qui...@li... > > > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > > > __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com |