<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello again Tony.<div class=""><br class=""></div><div class="">When I compile with GCC, the command used to test the shared library support is reported as:</div><div class=""><br class=""></div><div class="">&nbsp;&nbsp;configure:8764: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries</div><div class=""><br class=""></div><div class="">… but, as per my earlier email when using the Intel compilers it seems to think the linker command is ‘link’.</div><div class=""><br class=""></div><div class="">Do you know how to control/influence the linker command?</div><div class=""><br class=""></div><div class="">Kindest regards,</div><div class=""><br class=""></div><div class="">—</div><div class="">Greg.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 22 Jul 2015, at 5:01 pm, Greg Kopff &lt;<a href="mailto:greg@q10stats.com" class="">greg@q10stats.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Tony.<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 22 Jul 2015, at 4:29 pm, Tony Kelman &lt;<a href="mailto:kelman@berkeley.edu" class="">kelman@berkeley.edu</a>&gt; wrote:</div><div class="">It could get pretty messy to determine exactly where that's coming from. You should be able to find some evidence in config.log, either in the top-level build directory or one level down in the Ipopt subfolder, search for something like "whether to enable shared libraries" or "whether to build shared libraries." There might be some logic either in one of the configure.ac, or BuildTools/coin.m4, or libtool files that could be disabling shared libraries when using the Intel compilers? I don't have a lot of experience using the Intel compilers but I've used MKL a few times before and have done more than my share of debugging strange configure/build issues. It might help if you could upload the config.log and libtool files (both top-level and under Ipopt subfolder) to somewhere like pastebin or <a href="http://gist.github.com/" class="">gist.github.com</a>, so those of us who know what to look for could try skimming through them.<br class=""></div></blockquote></div><br class=""></div><div class="">Okay - I think I’ve found the relevant section. &nbsp;It’s as you expected:</div><div class=""><br class=""></div><div class="">configure:8764: checking whether the icc linker (link -m elf_x86_64) supports shared libraries<br class="">configure:9722: result: no<br class="">configure:9789: checking dynamic linker characteristics<br class="">configure:10377: result: GNU/Linux ld.so<br class="">configure:10386: checking how to hardcode library paths into programs<br class="">configure:10411: result: unsupported<br class="">configure:10425: checking whether stripping libraries is possible<br class="">configure:10430: result: yes<br class="">configure:11264: checking if libtool supports shared libraries<br class="">configure:11266: result: no<br class="">configure:11269: checking whether to build shared libraries<br class="">configure:11290: result: no<br class="">configure:11293: checking whether to build static libraries<br class="">configure:11297: result: yes<br class="">configure:11389: creating libtool<br class=""><br class=""></div><div class="">Here’s the whole thing:&nbsp;<a href="https://gist.github.com/gkopff/a68c61883eee3191d447" class="">https://gist.github.com/gkopff/a68c61883eee3191d447</a></div><div class=""><br class=""></div><div class="">If you have any ideas as to _why_ configure thinks that the icc linker doesn’t support shared libraries, I’d love to know. :)</div><div class=""><br class=""></div><div class="">Thanks for your help so far.</div><div class=""><br class=""></div><div class="">Kindest regards,</div><div class=""><br class=""></div><div class="">—</div><div class="">Greg.</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>