[Ipopt] undefined symbol ma57id error

Manish Punjabi manishpunjabi21 at gmail.com
Tue Jan 7 02:09:08 EST 2014


Dear Tony,

 Thanks, I added -lcoingsl in the makefile and it works perfectly fine.


Thanks and Regards,
Manish


On Tue, Jan 7, 2014 at 5:11 AM, Tony Kelman <kelman at berkeley.edu> wrote:

>   On second thought you might not need to send the configure logs. Try
> configuring Ipopt with --enable-dependency-linking and let us know if that
> works.
>
> Presumably pyipopt requires a shared library for libipopt. The problem is
> most likely that pyipopt is not loading libcoinhsl.so, I see on
> https://github.com/xuy/pyipopt that an HSL-related ImportError is common,
> and you may need to add “-lcoinhsl in the makefile of pyipopt”, or the
> recently added --enable-dependency-linking Ipopt configure flag should
> hopefully make that unnecessary.
>
>
> -Tony
>
>
>  *From:* Tony Kelman <kelman at berkeley.edu>
> *Sent:* Monday, January 06, 2014 3:26 PM
> *To:* Manish Punjabi <manishpunjabi21 at gmail.com> ; ipopt at list.coin-or.org
> *Subject:* Re: [Ipopt] undefined symbol ma57id error
>
>   Manish,
>
> Could you provide some more information about your platform and
> environment? What compilers, OS distribution, etc? Were you able to run
> “make test” successfully with your Ipopt installation? Could you send (or
> post to gist.github.com and send a link) builddir/config.log,
> builddir/Ipopt/config.log, and builddir/ThirdParty/HSL/config.log?
>
> -Tony
>
>
>  *From:* Manish Punjabi <manishpunjabi21 at gmail.com>
> *Sent:* Monday, January 06, 2014 5:30 AM
> *To:* ipopt at list.coin-or.org
> *Subject:* [Ipopt] undefined symbol ma57id error
>
>  Dear All,
>
> I have installed Ipopt-3.11.7 and pyipopt. However I get the following
> error:
>
>
>  >>> import pyipopt;
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib64/python2.7/site-packages/pyipopt/__init__.py", line 12,
> in <module>
>     from pyipoptcore import *
> ImportError: libipopt.so.1: undefined symbol: ma57id_
>
>
> I had placed the HSL code ( coinhsl v2012.12.21 ) in
> IpoptDIR/ThirdParty/coinhsl before building the source.
>
>
> Thanks and Regards,
> Manish
>
>
> ------------------------------
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20140107/0a3b2d3a/attachment-0001.html>


More information about the Ipopt mailing list