<div dir="ltr">Dear Tony,<div><br></div><div> Thanks, I added -lcoingsl in the makefile and it works perfectly fine. </div><div><br></div><div><br></div><div>Thanks and Regards,</div><div>Manish</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jan 7, 2014 at 5:11 AM, Tony Kelman <span dir="ltr"><<a href="mailto:kelman@berkeley.edu" target="_blank">kelman@berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:'Calibri'">
<div>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.</div>
<div> </div>
<div>Presumably pyipopt requires a shared library for libipopt. The problem is
most likely that pyipopt is not loading libcoinhsl.so, I see on <a>https://github.com/xuy/pyipopt</a>
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.</div>
<div> </div>
<div> </div>
<div>-Tony</div>
<div> </div>
<div style="font-style:normal;font-size:small;display:inline;font-family:"Calibri";text-decoration:none;font-weight:normal">
<div style="FONT:10pt tahoma">
<div> </div>
<div style="BACKGROUND:#f5f5f5">
<div><b>From:</b> <a title="kelman@berkeley.edu" href="mailto:kelman@berkeley.edu" target="_blank">Tony Kelman</a> </div>
<div><b>Sent:</b> Monday, January 06, 2014 3:26 PM</div>
<div><b>To:</b> <a title="manishpunjabi21@gmail.com" href="mailto:manishpunjabi21@gmail.com" target="_blank">Manish Punjabi</a> ; <a title="ipopt@list.coin-or.org" href="mailto:ipopt@list.coin-or.org" target="_blank">ipopt@list.coin-or.org</a> </div>
<div><b>Subject:</b> Re: [Ipopt] undefined symbol ma57id error</div></div></div>
<div> </div></div>
<div style="font-style:normal;font-size:small;display:inline;font-family:"Calibri";text-decoration:none;font-weight:normal"><div><div class="h5">
<div dir="ltr">
<div style="font-size:12pt;font-family:'Calibri'">
<div>Manish,</div>
<div> </div>
<div>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
<a href="http://gist.github.com" target="_blank">gist.github.com</a> and send a link) builddir/config.log, builddir/Ipopt/config.log,
and builddir/ThirdParty/HSL/config.log?</div>
<div> </div>
<div>-Tony</div>
<div> </div>
<div style="font-style:normal;font-size:small;display:inline;font-family:"Calibri";text-decoration:none;font-weight:normal">
<div style="FONT:10pt tahoma">
<div> </div>
<div style="BACKGROUND:#f5f5f5">
<div><b>From:</b> <a title="manishpunjabi21@gmail.com" href="mailto:manishpunjabi21@gmail.com" target="_blank">Manish Punjabi</a> </div>
<div><b>Sent:</b> Monday, January 06, 2014 5:30 AM</div>
<div><b>To:</b> <a title="ipopt@list.coin-or.org" href="mailto:ipopt@list.coin-or.org" target="_blank">ipopt@list.coin-or.org</a> </div>
<div><b>Subject:</b> [Ipopt] undefined symbol ma57id error</div></div></div>
<div> </div></div>
<div style="font-style:normal;font-size:small;display:inline;font-family:"Calibri";text-decoration:none;font-weight:normal">
<div dir="ltr">Dear All,
<div> </div>
<div>I have installed Ipopt-3.11.7 and pyipopt. However I get the following
error:</div>
<div> </div>
<div> </div>
<div>
<div>>>> import pyipopt;</div>
<div>Traceback (most recent call last):</div>
<div> File "<stdin>", line 1, in <module></div>
<div> File "/usr/lib64/python2.7/site-packages/pyipopt/__init__.py", line
12, in <module></div>
<div> from pyipoptcore import *</div>
<div>ImportError: libipopt.so.1: undefined symbol: ma57id_</div>
<div> </div>
<div> </div>
<div>I had placed the HSL code ( <span style="FONT-SIZE:13px;FONT-FAMILY:arial,sans-serif">coinhsl v2012.12.21
</span>) in IpoptDIR/ThirdParty/coinhsl before building the source.</div>
<div> </div>
<div> </div>
<div>Thanks and Regards,</div>
<div>Manish</div>
<div> </div></div></div></div></div></div>
</div></div><p>
</p><hr>
_______________________________________________<br>Ipopt mailing
list<br><a href="mailto:Ipopt@list.coin-or.org" target="_blank">Ipopt@list.coin-or.org</a><br><a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
<p></p></div></div></div></div>
</blockquote></div><br></div>