Anything that causes linking to fail will give this same error. The way the configure script checks for the library is by trying to link a short C code that calls the CPXgetstat function. Failure for any reason yields this error, whether it is linking to the 32-bit library on a 64-bit platform or a missing dependency. In the past, the latter has been a consistent source of problems and given that the dependencies have changed from 12.3 to 12.4, it seems the most likely place to look. <br>
<br>The only way to really debug what is going on is to open config.log and look for where the log file contains the test for the existence of the library. There, you will find the source for the C code that is failing to link. You can copy that into a file and try to build it yourself using the same command line as configure. You will then get a more complete error report directly from the compiler/linker. Perhaps there is a smarter way to do this, but this is at least one way of identifying what is really going on.<br>
<br>Cheers,<br><br>Ted<br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 7:59 PM, Sepehr Nemati Proon <span dir="ltr"><<a href="mailto:sepehr.nemati@gmail.com" target="_blank">sepehr.nemati@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi,</div><div> </div><div>You need to make sure that you are linking to the CPLEX version for 64 bit. This is a typical problem that occurs as it happened in my case too. While compiling, you also need to disable the part that need to see if cplex header file is available or not.</div>
<div>Special considerations in your Makefile also needed but of course when you can successfully link it to CPLEX.</div><div> </div><div>As I said, this happened in my case too and I could resolve the issue by following the above instructions.</div>
<div>--Sepehr<br><br></div><div class="gmail_quote"><div class="im">On Wed, Jul 25, 2012 at 6:47 PM, Ted Ralphs <span dir="ltr"><<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>></span> wrote:<br>
</div><div><div class="h5"><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
I am also seeing the same thing. I'll see what I can find out...<br><br>Ted<br><br><div class="gmail_quote"><div><div>On Wed, Jul 25, 2012 at 5:25 PM, Shahin Gelareh <span dir="ltr"><<a href="mailto:shahin.gelareh@gmail.com" target="_blank">shahin.gelareh@gmail.com</a>></span> wrote:<br>
</div></div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div><div><div class="gmail_quote">
Dear all<br><br>I cannot configure BCP1.3.4 with cplex option. <br>I get the following:<br><br>
"checking whether symbol CPXgetstat is available with CPX... no"<br><br>when I use:<br><br><br>
./configure --with-cplex-lib="-L/opt/ibm/ILOG/CPLEX_Studio124/cplex/lib/x86_sles10_4.1/static_pic -lcplex -lpthread" \<br>
<br> --with-cplex-incdir="/opt/ibm/ILOG/CPLEX_Studio124/cplex/include/ilcplex" \<br><br> --enable-static -C<br><br><br>am I doing something wrong or is known issue?<br><br>Any comment is appreciated.<br>
<br>best regards,<br>
Shahin<br>
</div><br>
<br></div></div>_______________________________________________<br>
BCP mailing list<br>
<a href="mailto:BCP@list.coin-or.org" target="_blank">BCP@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/bcp" target="_blank">http://list.coin-or.org/mailman/listinfo/bcp</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br><a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>
ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
<br>
</font></span><br>_______________________________________________<br>
BCP mailing list<br>
<a href="mailto:BCP@list.coin-or.org" target="_blank">BCP@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/bcp" target="_blank">http://list.coin-or.org/mailman/listinfo/bcp</a><br>
<br></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Sepehr Nemati<br>PhD Student<br>Department of Industrial Engineering<br>University of Pittsburgh<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
<br>