Re: [Quickfix-users] A couple questions using examples and MySQL
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-11-11 19:52:54
|
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 > |