[Ipopt] Installed libipopt.so has undefined symbols
Thomas Moulard
thomas.moulard at gmail.com
Tue May 26 10:56:52 EDT 2009
On Tue, May 26, 2009 at 11:49 PM, Andreas Waechter
<andreasw at watson.ibm.com> wrote:
> Hi Thomas,
>
> Then you configure Ipopt, it finds out what other libraries it has to be
> linked with, and it puts this information into the example Makefiles, see in
> the LIBS variable, see, e.g.,
>
> YOUR_IPOPT_INST_DIR/Ipopt/examples/hs071_cpp/Makefile
>
> (where "YOUR_IPOPT_INST_DIR" is the directory where you installed Ipopt,
> usually where you run configure).
>
> Alternatively, it also creates a file
>
> YOUR_IPOPT_INST_DIR/share/doc/coin/Ipopt/ipopt_addlibs_cpp.txt
>
> which contains those libraries as text as well.
>
> You can use that for example as in
>
> g++ test.cc -lipopt `cat
> YOUR_IPOPT_INST_DIR/share/doc/coin/Ipopt/ipopt_addlibs_cpp.txt`
I see. Is there a specific reason to not handle dependencies in the
standard way?
If there is one, why not provide two libraries?
--
Thomas Moulard
More information about the Ipopt
mailing list