Hi Noli,<br><br>Before you go to a lot more trouble, can you maybe say what you are trying to do that requires Glpk 4.47? The only thing Glpk can do for you when combined with Cbc is to read instances in GMPL format and for that, 4.45 works well and compiles out of the box.<br>

<br>If you do really need 4.47, then here is another idea. In your previous e-mail you indicated that you were configuring on OSX with -arch=x86_64, which seems to be what is causing the issue here. Why do you need that extra flag? When I build on OSX, I just build with defaults (no extra flags) and everything works fine. The more you can stick to the standard setup, the better of you are going to be.<br>

<br>Cheers,<br><br>Ted<br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 6:09 AM, Noli Sicad <span dir="ltr">&lt;<a href="mailto:nsicad@gmail.com" target="_blank">nsicad@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">

Hi Stefan,<br>
<div class="im"><br>
&gt;<br>
&gt; Maybe just copy the glpk.h from glpk/src to glpk/include to make make<br>
&gt; happy.<br>
<br>
</div><div class="im">OK. Good idea.<br>
<br>
Just did that.<br>
<br>
But seems to have problem with X86_64 and GLPK codes. See logs below.<br>
<br>
Thanks,<br>
<br>
Noli<br>
<br>
<br>
########<br>
<br>
/bin/sh ../../libtool --tag=CXX --mode=link g++  -g -O0 -pipe<br>
-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith<br>
-Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long<br>
</div><div class="im">-DCLP_BUILD   -o clp  ClpMain.o CbcOrClpParam.o MyEventHandler.o<br>
MyMessageHandler.o unitTest.o libClp.la -lreadline -lncurses<br>
</div><div class="im">/Users/nsicad/Documents/Cbc-2.7.7_4/ThirdParty/Glpk/<a href="http://libcoinglpk.la" target="_blank">libcoinglpk.la</a><br>
-ldl -lgmp -lz<br>
/Users/nsicad/Documents/Cbc-2.7.7_4/CoinUtils/src/libCoinUtils.la<br>
/Users/nsicad/Documents/Cbc-2.7.7_4/ThirdParty/Glpk/<a href="http://libcoinglpk.la" target="_blank">libcoinglpk.la</a><br>
</div><div class="im">-lreadline -lncurses -lbz2 -lm -ldl -lgmp -lz<br>
</div><div class="im">g++ -g -O0 -pipe -Wparentheses -Wreturn-type -Wcast-qual -Wall<br>
-Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas<br>
</div>-Wno-long-long -DCLP_BUILD -o clp ClpMain.o CbcOrClpParam.o<br>
<div class="im">MyEventHandler.o MyMessageHandler.o unitTest.o -Wl,-bind_at_load<br>
./.libs/libClp.a<br>
</div>/Users/nsicad/Documents/Cbc-2.7.7_4/CoinUtils/src/.libs/libCoinUtils.a<br>
/Users/nsicad/Documents/Cbc-2.7.7_4/ThirdParty/Glpk/.libs/libcoinglpk.a<br>
<div class="im">-lreadline -lncurses -lbz2 -lm -ldl /usr/local/lib/libgmp.dylib -lz<br>
Undefined symbols for architecture x86_64:<br>
  &quot;__glp_zlib_gzclose&quot;, referenced from:<br>
      _z_fclose in libcoinglpk.a(glpenv07.o)<br>
  &quot;__glp_zlib_gzerror&quot;, referenced from:<br>
      _z_fgetc in libcoinglpk.a(glpenv07.o)<br>
      _z_fputc in libcoinglpk.a(glpenv07.o)<br>
      _z_fflush in libcoinglpk.a(glpenv07.o)<br>
  &quot;__glp_zlib_gzflush&quot;, referenced from:<br>
      _z_fflush in libcoinglpk.a(glpenv07.o)<br>
  &quot;__glp_zlib_gzgetc&quot;, referenced from:<br>
      _z_fgetc in libcoinglpk.a(glpenv07.o)<br>
  &quot;__glp_zlib_gzopen&quot;, referenced from:<br>
      _z_fopen in libcoinglpk.a(glpenv07.o)<br>
  &quot;__glp_zlib_gzputc&quot;, referenced from:<br>
      _z_fputc in libcoinglpk.a(glpenv07.o)<br>
  &quot;_glp_main&quot;, referenced from:<br>
      __glp_lpx_main in libcoinglpk.a(glplpx01.o)<br>
ld: symbol(s) not found for architecture x86_64<br>
collect2: error: ld returned 1 exit status<br>
make[4]: *** [clp] Error 1<br>
make[3]: *** [all-recursive] Error 1<br>
make[2]: *** [all] Error 2<br>
make[1]: *** [all-recursive] Error 1<br>
</div><div class="im">make: *** [all-recursive] Error 1<br>
</div>Nolis-MacBook-Pro:Cbc-2.7.7_4 nsicad$<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>

<br>