symbol lookup error: ./quickfix-1.13.3/src/C++/.libs/libquickfix.so.14: undefined symbol: _Z10

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

symbol lookup error: ./quickfix-1.13.3/src/C++/.libs/libquickfix.so.14: undefined symbol: _Z10

Daniel Mounessa
My code works without FIX::FileLogFactory but I do not get any messages when a fix connection is not logged on due to rejection by quickfix (Initiator or Acceptor). Therefore, I added

FileLogPath=./fix_log

And nothing happen. Then I modified the code to

FIX::ThreadedSocketInitiator *initiator = 0;

FIX::FileLogFactory *file_log_factory = 0;
file_log_factory = new FIX::FileLogFactory(*settings);
initiator = new FIX::ThreadedSocketInitiator ( *this,
                                                                        *storeFactory,
                                                                        *settings,
                                                                        *file_log_factory);

And I get
symbol lookup error:./quickfix-1.13.3/src/C++/.libs/libquickfix.so.14: undefined symbol: _Z10

Same thing with ThreadedSocketAcceptor ?

I am using /quickfix-1.13.3/src/C++.

What seems to be the issue --
Is there a sample code that works for this?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: symbol lookup error: ./quickfix-1.13.3/src/C++/.libs/libquickfix.so.14: undefined symbol: _Z10

Daniel Mounessa
Problem was with LD_LIBRARY Path -- the code worked without any issue with my own local built copy except in this case, it was not able to find the method -- When I changed to a newer built version it seems okay.