Re: [Quickfix-developers] building C++ tradeclient into an executable
Brought to you by:
orenmnero
From: <or...@qu...> - 2008-05-02 14:29:52
|
It is just looking for the QuickFIX shared object. One of the things the script does is setup the LD_LIBRARY_PATH for the executable. If you do a make install on your box, it would find the library fine. Your other options are to grab te executable and the library and setup LD_LIBRARY_PATH yourself. Or, you can build with the --disable-shared --enable-static and the library should link everything directly into the executable. This should make transporting it easier. --oren > -------- Original Message -------- > Subject: [Quickfix-developers] building C++ tradeclient into an > executable > From: fopguy <ma...@tr...> > Date: Fri, May 02, 2008 8:42 am > To: qui...@li... > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > The makefile that comes with quickfix builds the C++ tradeclient into an > executable and a script. I see that in the makefile, it is the libtool > script that makes the tradeclient script inside the main directory, and a > tradeclient executable inside .libs. > I can invoke tradeclient with the script, but invoking the executable > directly gives me a shared library error. > $ cd .libs > $./tradeclient tradeclient.cfg > ./tradeclient: error while loading shared libraries: libquickfix.so.10: > cannot open shared object file: No such file or directory > I was wondering if anyone has experience modifying the build process so that > it builds > 1) an executable only (no script) > 2) portable to another machine. > I'm guessing that would require figuring out what exactly libtool does and > condensing it into one g++ line. > If anyone has information about that, I would deeply appreciate it. > thanks > mark > -- > View this message in context: http://www.nabble.com/building-C%2B%2B-tradeclient-into-an-executable-tp17019718p17019718.html > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |