[Ipopt] undefined symbol ma57id error

Tony Kelman kelman at berkeley.edu
Mon Jan 6 18:41:00 EST 2014


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 
Sent: Monday, January 06, 2014 3:26 PM
To: Manish Punjabi ; 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 
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/20140106/32519386/attachment.html>


More information about the Ipopt mailing list