[Couenne-tickets] [Couenne, a solver for non-convex MINLP problems] #1: Linkng problem
Couenne, a solver for non-convex MINLP problems
coin-trac at coin-or.org
Thu Nov 12 10:54:44 EST 2009
#1: Linkng problem
------------------------+---------------------------------------------------
Reporter: bss | Owner: pbelotti
Type: defect | Status: assigned
Priority: major | Milestone:
Component: component1 | Version:
Keywords: |
------------------------+---------------------------------------------------
Old description:
> Hi Beata,
>
> negInfinity is *declared* as an extern variable in asl.h, one of the
> include files for the Ampl Solver Library (ASL) used throughout Couenne.
> That variable is *defined* in mach.c, again from the ASL library. It
> should be available in amplsolver.a. See ThirdParty/ASL and documentation
> therein. In principle, if the ASL library is linked with Couenne, all
> should be OK. Can you tell something more about the system where you have
> installed Couenne?
>
> Thanks,
> Pietro
>
> Hi, I am trying to use COIN-OR with Couenne from an external application.
> I have configured, built and installed COIN-OR according to the
> instructions, and all that was reported as successful. However, when I
> invoke my external application, I get the following:
>
> (E) Failed to load 'libMyApp.so'.
> /home/bss/COIN_OS/lib/libCouenne.so.0: undefined symbol: negInfinity
>
> Could you help me resolve that?
>
> Thanks,
> Beata
New description:
Hi, I am trying to use COIN-OR with Couenne from an external application.
I have configured, built and installed COIN-OR according to the
instructions, and all that was reported as successful. However, when I
invoke my external application, I get the following:
(E) Failed to load 'libMyApp.so'.
/home/bss/COIN_OS/lib/libCouenne.so.0: undefined symbol: negInfinity
Could you help me resolve that?
Thanks,
Beata
--
Comment(by pbelotti):
Replying to [comment:3 pbelotti]:
> Hi Beata,
>
> now that I look at it more carefully, libCouenne shouldn't even have
that symbol (negInfinity) as it doesn't use the ASL. However, if you do
use the ASL, then that symbol is defined, and it should be found by the
linker. It might be that you just need to re-order the libraries you use
(the ASL and libCouenne) to build libMyApp. On my side, I'll try to see if
I can remove that symbol from libCouenne, but any change would be
reflected in a stable version of Couenne, not the release (0.2.1?) you
seem to have.
>
> Cheers,
> Pietro
>
>
> Replying to [comment:2 bss]:
> > Hi Pietro,
> >
> > the ASL libraries seem to be included as needed, yet the problem
persists. I am working on Ubuntu Hardy. I have attached config.log with
more details for your information.
> >
> > Thanks,
> > Beata
--
Ticket URL: <https://projects.coin-or.org/Couenne/ticket/1#comment:4>
Couenne, a solver for non-convex MINLP problems <https://projects.coin-or.org/Couenne>
Couenne, a solver for non-convex MINLP problems
More information about the Couenne-tickets
mailing list