<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Looks like it is trying to dynamically link to ...<div><br></div><div><div bgcolor="#FFFFFF" text="#000000"> libipopt.1.dylib<br> libcoinhsl.1.dylib<br> libcoinmetis.1.dylib<br></div></div><div><br></div><div>... when it should be statically linking to them. In fact, these files shouldn't even exist ... maybe they are still around from a previous build?</div><div><br></div><div>Try deleting those libraries (or starting with a clean Ipopt build directory) and rebuilding Ipopt and the MEX file, then hopefully it will link to the static files and Matlab will be able to load everything it needs to run properly.</div><div><br></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; 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; font-size: medium; "><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; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><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>
<br><div><div>On Feb 8, 2012, at 10:55 AM, Marco Rozgic wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
Hello.<br>
<br>
<br>
On 08.02.12 16:43, Ray Zimmerman wrote:
<blockquote cite="mid:50233890-A080-4D12-AB09-C09C352C22BB@cornell.edu" type="cite">1. Double-check the MATLAB is trying to load the MEX
file you just created by typing at the Matlab prompt: which ipopt</blockquote>
This gives:<br>
>> which ipopt<br>
/Users/marcorozgic/Documents/MATLAB/ipopt.mexmaci64<br>
<blockquote cite="mid:50233890-A080-4D12-AB09-C09C352C22BB@cornell.edu" type="cite">
<div>2. See what libraries it is linked to by typing in the
Terminal: otool -L ipopt.mexmaci64<br>
</div>
</blockquote>
This gives:<br>
otool -L ~/Documents/MATLAB/ipopt.mexmaci64<br>
/Users/marcorozgic/Documents/MATLAB/ipopt.mexmaci64:<br>
/System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
(compatibility version 1.0.0, current version 268.0.1)<br>
/Users/marcorozgic/Documents/HSU/Optimierung/Ipopt-3.10.1/build64/lib/libipopt.1.dylib
(compatibility version 10.0.0, current version 10.1.0)<br>
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.11)<br>
/Users/marcorozgic/Documents/HSU/Optimierung/Ipopt-3.10.1/build64/lib/libcoinhsl.1.dylib
(compatibility version 5.0.0, current version 5.1.0)<br>
/Users/marcorozgic/Documents/HSU/Optimierung/Ipopt-3.10.1/build64/lib/libcoinmetis.1.dylib
(compatibility version 4.0.0, current version 4.1.0)<br>
@rpath/libmx.dylib (compatibility version 0.0.0, current version
0.0.0)<br>
@rpath/libmex.dylib (compatibility version 0.0.0, current
version 0.0.0)<br>
@rpath/libmat.dylib (compatibility version 0.0.0, current
version 0.0.0)<br>
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.9.0)<br>
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 830.0.0)<br>
<br>
Executing otool -L ipopt.mexmaci64 in any other directory gives the
'file or directory not found' message.<br>
<br>
Best,<br>
Marco<br>
<blockquote cite="mid:50233890-A080-4D12-AB09-C09C352C22BB@cornell.edu" type="cite">
<div>
<div><br>
</div>
</div>
<div>
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; 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; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; 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; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
<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>
<br>
<div>
<div>On Feb 7, 2012, at 2:26 AM, Marco Rozgic wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div><snip></div>
</blockquote>
<br>
<blockquote type="cite">
<div>Fatou:src marcorozgic$ cp ipopt.mexmaci64
~/Documents/MATLAB/<br>
<br>
This is why I assume that this worked. After doing this I
want to try if IPOPT works in MATLAB. For this purpose I try
running examplelasso in in
/contrib/MatlabInterface/examples. As soon as I arrive the
line<br>
[x info] = ipopt(x0,funcs,options);<br>
<br>
MATLAB crashes without further error messages. Does anybody
has any suggestion what to try next?<br>
Best,<br>
Marco Rozgic<br>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ipopt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
</blockquote>
<br>
</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></body></html>