<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>The problem with g95 was an history about mixing dynamic and static library... for a reason, the version coming from macport does not build a libf95.dylib file. I have removed all the ipopt dynamic library and added a --enable-static to Mr Zimmerman "step-by-step" configuration and it seems to work now. This does not tell us why my attempts with gfortran have always failed but I think I'll stop my investigation on that matter for the moment. </div><div>Thanks for all the help!</div><div><div><div><br></div><div><br></div><div>Le 31 janv. 2012 à 16:36, Frank Kampas a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div dir="ltr"><div style="font-family: Calibri; color: rgb(0, 0, 0); font-size: 12pt; "><div><a title="http://www.g95.org/windows_faq.shtml#Q._2." href="http://www.g95.org/windows_faq.shtml#Q._2.">http://www.g95.org/windows_faq.shtml#Q._2.</a> for gfortran g95 problems</div><div>however, it may only be a problem on windows</div><div style="font-style: normal; display: inline; font-family: Calibri; color: rgb(0, 0, 0); font-size: small; font-weight: normal; text-decoration: none; "><div style="font: normal normal normal 10pt/normal tahoma; "><div> </div><div style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); position: static; z-index: auto; background-position: initial initial; background-repeat: initial initial; "><div><b>From:</b> <a title="fkampas@msn.com" href="mailto:fkampas@msn.com">Frank Kampas</a></div><div><b>Sent:</b> Tuesday, January 31, 2012 10:30 AM</div><div><b>To:</b> <a title="rz10@cornell.edu" href="mailto:rz10@cornell.edu">Ray Zimmerman</a> ; <a title="ipopt@list.coin-or.org" href="mailto:ipopt@list.coin-or.org">ipopt@list.coin-or.org</a></div><div><b>Subject:</b> Re: [Ipopt]Rép : Ipopt compilation on mac OS X 10.6</div></div></div><div> </div></div><div style="font-style: normal; display: inline; font-family: Calibri; color: rgb(0, 0, 0); font-size: small; font-weight: normal; text-decoration: none; "><div dir="ltr"><div style="font-family: Calibri; color: rgb(0, 0, 0); font-size: 12pt; "><div>gfortran and g95 can conflict with each other. </div><div style="font-style: normal; display: inline; font-family: Calibri; color: rgb(0, 0, 0); font-size: small; font-weight: normal; text-decoration: none; "><div style="font: normal normal normal 10pt/normal tahoma; "><div> </div><div style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(245, 245, 245); background-position: initial initial; background-repeat: initial initial; "><div><b>From:</b> <a title="rz10@cornell.edu" href="mailto:rz10@cornell.edu">Ray Zimmerman</a></div><div><b>Sent:</b> Tuesday, January 31, 2012 10:17 AM</div><div><b>To:</b> <a title="ipopt@list.coin-or.org" href="mailto:ipopt@list.coin-or.org">ipopt@list.coin-or.org</a></div><div><b>Subject:</b> Re: [Ipopt] Rép : Ipopt compilation on mac OS X 10.6</div></div></div><div> </div></div><div style="font-style: normal; display: inline; font-family: Calibri; color: rgb(0, 0, 0); font-size: small; font-weight: normal; text-decoration: none; "><div>It may be that, at this point, you have multiple conflicting fortran compilers and libraries installed and it's getting confused. Also, are you using the current version of Ipopt? My instructions were only tested with 3.10.1. From your errors, it looks like you may be using a much older version.</div><div> </div><div><span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; border-collapse: separate; font: normal normal normal medium/normal helvetica; white-space: normal; orphans: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; border-collapse: separate; font: normal normal normal medium/normal helvetica; white-space: normal; orphans: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; border-collapse: separate; font: normal normal normal 12px/normal helvetica; white-space: normal; orphans: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; border-collapse: separate; font: normal normal normal 12px/normal helvetica; white-space: normal; orphans: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; "><div>--</div><div>Ray Zimmerman</div><div>Senior Research Associate</div><div>419A Warren Hall, Cornell University, Ithaca, NY 14853</div><div>phone: (607) 255-9645</div><br class="Apple-interchange-newline"></span></div></span></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div><div> </div><div><div>On Jan 31, 2012, at 8:18 AM, Sylvain Auliac wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div> </div><div><div><div><b>Many thanks for the link, sadly it did not solve my problem :</b><div><b>I actually first tried to compile with gfortran, but doing so, I wasn't even able to run the configurations script to its end :</b></div><div> </div><div> checking for Fortran 77 compiler default output file name... configure: error: Fortran 77 compiler cannot create executables</div><div> </div><div><b>There was this in one of the config.log file (int the ThirdParty/HSL/ directory)</b></div><div><div> </div><div> Undefined symbols:</div><div> "__gfortran_set_std", referenced from:</div><div> _MAIN__ in ccDMKdOw.o</div><div> ld: symbol(s) not found</div><div> collect2: ld returned 1 exit status</div><div> configure:1903: $? = 1</div><div> configure: failed program was:</div><div> | program main</div><div> |</div><div> | end</div><div> configure:1942: error: Fortran 77 compiler cannot create executables</div></div><div> </div><div><b>Very strange since I have already compiled many softwares or library with gfortran. I have tried with the gfortran from your link and it did not change anything. Using g95 and following your method lead me to the same result as before at runtime :</b></div><div> </div><div><div> dyld: Symbol not found: __g95_filename</div><div> Referenced from: /Users/auliac/Desktop/Ipopt-3.2.1/lib/libipopt.0.dylib</div><div> Expected in: flat namespace</div><div> in /Users/auliac/Desktop/Ipopt-3.2.1/lib/libipopt.0.dylib</div></div></div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div>Le 30 janv. 2012 à 21:07, Ray Zimmerman a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You may find some help at ...<div> </div><div> <a href="https://projects.coin-or.org/Ipopt/wiki/Ipopt_on_Mac_OS_X">https://projects.coin-or.org/Ipopt/wiki/Ipopt_on_Mac_OS_X</a></div><div> </div><div>... though I am using gfortran, not g95.</div><div> </div><div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; border-collapse: separate; font: normal normal normal 12px/normal helvetica; white-space: normal; orphans: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; border-collapse: separate; font: normal normal normal 12px/normal helvetica; white-space: normal; orphans: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; "><div>--</div><div>Ray Zimmerman</div><div>Senior Research Associate</div><div>419A Warren Hall, Cornell University, Ithaca, NY 14853</div><div>phone: (607) 255-9645</div><br class="Apple-interchange-newline"></span></div></span></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"></div><div> </div><div><div>On Jan 30, 2012, at 10:49 AM, Sylvain Auliac wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,</div><div>i'm trying to have ipopt working on my laptop (OS X 10.6), but i have configuration problems. I can compile and create the library files, but I always get some messages like that at runtime :</div><div> </div><div><div>dyld: Symbol not found: __g95_filename</div><div> Referenced from: /Users/auliac/Desktop/Ipopt-3.2.1/lib/libipopt.0.dylib</div><div> Expected in: flat namespace</div></div><div> </div><div>As suggested in the "current issues" section of the site, I have added <span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">ADD_FFLAGS="-mmacosx-version-min=10.4" </span>while configuring. If I only do that, I get this error when I type "make test" when tests are run. I have then tried several flags combination from this troubleshooting page, I only have better results when I also add <span class="Apple-style-span" style="font-family: monospace; ">LDFLAGS="-flat_namespace" . </span>With that, the console displays a succes message when I run the test. But still the executable from the exemples folder send this "_g95_filename" error (not to speak about code of my own). This is somewhat weird... I use gcc for c/c++ compilation and g95 for the fortran.</div><div> </div><div>I'd greatly appreciate any help.</div><div><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><br></span></div><div> </div><div> </div><div> </div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Sylvain Auliac</div><div>Laboratoire Jacques-Louis Lions</div><div>Université Pierre et Marie Curie</div><div>mail: <a href="mailto:auliac@ann.jussieu.fr">auliac@ann.jussieu.fr</a></div><div>tel : 01 44 27 71 70</div><div> </div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"></div><div> </div></div>_______________________________________________<br>Ipopt mailing list<br><a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br><a href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a><br></blockquote></div><div> </div></div></div>_______________________________________________<br>Ipopt mailing list<br><a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br><a href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a><br></blockquote></div><div> </div><div><span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; border-collapse: separate; font: normal normal normal medium/normal helvetica; white-space: normal; orphans: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; border-collapse: separate; font: normal normal normal medium/normal helvetica; white-space: normal; orphans: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Sylvain Auliac</div><div>Laboratoire Jacques-Louis Lions</div><div>Université Pierre et Marie Curie</div><div>mail: <a href="mailto:auliac@ann.jussieu.fr">auliac@ann.jussieu.fr</a></div><div>tel : 01 44 27 71 70</div><div> </div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div></div></div>_______________________________________________<br>Ipopt mailing list<br><a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br><a href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a><br></blockquote></div><br><div><br class="webkit-block-placeholder"></div><hr>_______________________________________________<br>Ipopt mailing list<br><a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>http://list.coin-or.org/mailman/listinfo/ipopt<br></div></div></div><div><br class="webkit-block-placeholder"></div><hr>_______________________________________________<br>Ipopt mailing list<br><a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>http://list.coin-or.org/mailman/listinfo/ipopt<br></div></div></div></div>_______________________________________________<br>Ipopt mailing list<br><a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>http://list.coin-or.org/mailman/listinfo/ipopt<br></blockquote></div><br><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Sylvain Auliac</div><div>Laboratoire Jacques-Louis Lions</div><div>Université Pierre et Marie Curie</div><div>mail: <a href="mailto:auliac@ann.jussieu.fr">auliac@ann.jussieu.fr</a></div><div>tel : 01 44 27 71 70</div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div></div></body></html>