Hi,<div>You might need to add -lm before -lpthread in the command line. If that does not work, you should look into Osi/config.log for the error message.</div><div>Regards,</div><div>Pierre<br><br><div class="gmail_quote">
On Wed, Jan 25, 2012 at 8:13 AM, Wendel Alexandre Xavier de Melo <span dir="ltr">&lt;<a href="mailto:wendelalexandre@gmail.com">wendelalexandre@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am sorry for the early message...<br><br>Hi experts<br><br><br>I need a help. I would like to use Bonmin under cplex MILP solver.<br><br>First, I have already installed cplex on my machine, (cplex academic studio 12.3) in the path:<br>

<br>opt/ibm/ILOG/CPLEX_Studio_<div class="gmail_quote">Academic123/<br>
<br>It works well.<br><br>Now, I am trying run the configure script like below:<br><br>./configure --with-cplex-incdir=/opt/ibm/ILOG/CPLEX_Studio_Academic123/cplex/include/ilcplex/  --with-cplex-lib=&quot;/opt/ibm/ILOG/CPLEX_Studio_Academic123/cplex/lib/x86-64_sles10_4.1/static_pic/libcplex.a -lpthread&quot;<br>


<br>But I have got the following error:<br><br>checking if user provides library for Cplex... yes<br>checking whether symbol CPXgetstat is available with CPX... no<br>configure: error: Cannot find symbol(s) CPXgetstat with CPX<br>


configure: error: /bin/bash &#39;./configure&#39; failed for Osi<br><br><br>For 
some reason, it does not recognize the file libcplex.a in a right way. I
 think the path is right and that file really is in this place.<br><br>
<br>Someone could help me?<br><br>Best regards<span class="HOEnZb"><font color="#888888"><span><font color="#888888"><br><br>-- <br>Wendel Alexandre Melo<br>Master degree student<br>Federal University of Rio de Janeiro</font></span></font></span></div>
<span class="HOEnZb"><font color="#888888"><br clear="all">
<br>-- <br>Wendel<br>
</font></span><br>_______________________________________________<br>
Bonmin mailing list<br>
<a href="mailto:Bonmin@list.coin-or.org">Bonmin@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/bonmin" target="_blank">http://list.coin-or.org/mailman/listinfo/bonmin</a><br>
<br></blockquote></div><br></div>