<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Kyle,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">We try to remove as many of these shared library dependencies as possible, and we&#39;ve been able to get by with this situation with previous versions of MacOS.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It doesn&#39;t surprise me that Apple has changed things up a bit, and unfortunately, I don&#39;t have a 10.11 system to test on yet.  I have to be careful about upgrading right away because this usually breaks my ability to run VPN from home, which is critical for work.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I&#39;m going to see if it&#39;s safe for me to upgrade to 10.11, and then I&#39;ll give the NCL build a try. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I do appreciate you offering to be a guinea pig.  Have you actually tried building NCL from source code?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 14, 2015 at 9:37 AM, Kyle Griffin <span dir="ltr">&lt;<a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi all,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I wanted to highlight the result of a bit of research I&#39;ve had to do after upgrading a Mac from 10.9 to 10.11 - specifically, that DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH are no longer supported by default in OS X. While they can be set, this setting is not recognized in any automated (cron) calls to scripts. Here&#39;s on example output, where I print the contents of both environmental variables before attempting to run an NCL script. One environmental variable is set in .profile (manually sourced at start of the script) and one is set within the script itself. Both are ignored. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p>/opt/local/lib/gcc49:/opt/local/lib/gcc</p><p>/opt/local/lib/gcc49:/opt/local/lib/gcc</p><p>dyld: Library not loaded: /usr/local/lib/libquadmath.0.dylib</p><p>  Referenced from: /Users/ksgriffin2/ncl6.3.0.1010/bin/ncl</p><p>  Reason: image not found</p></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The dyld:... error was originally missing libgfortran.3.dylib, but I manually created a link in /usr/local/lib to the version in /opt/local/lib/gcc49 try and tackle this problem. It appears that linking libgfortran.3.dylib, libquadmath.0.dylib, and libgomp.1.dylib does the trick to allow NCL to function as a workaround, but could be problematic long-term I would guess? The binary in use here is the Mac 10.10/gcc4.9.2 binary.<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Apple now claims that any software relying on this should, essentially, not rely on these techniques any more or place them all in /usr/local/ (I&#39;m using MacPorts, putting things /opt/local/) [see under last heading on the page]:</div><div style="font-size:12.8px"><a href="https://developer.apple.com/library/mac/documentation/Security/Conceptual/System_Integrity_Protection_Guide/FileSystemProtections/FileSystemProtections.html#//apple_ref/doc/uid/TP40016462-CH2-DontLinkElementID_2" target="_blank">https://developer.apple.com/library/mac/documentation/Security/Conceptual/System_Integrity_Protection_Guide/FileSystemProtections/FileSystemProtections.html#//apple_ref/doc/uid/TP40016462-CH2-DontLinkElementID_2</a><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">This can, in theory, be fixed by accessing the system recovery and disabling the new &quot;System Integrity Protection&quot; feature that eliminates these issues, but I feel that is not an appropriate fix for this problem. For testing purposes, the simple process of disabling SIP is presented at the bottom of this article: <a href="http://www.macworld.com/article/2986118/security/how-to-modify-system-integrity-protection-in-el-capitan.html" target="_blank">http://www.macworld.com/article/2986118/security/how-to-modify-system-integrity-protection-in-el-capitan.html</a></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I should note the NCL appears to work fine from the command line, although I have to test it in depth.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">So it appears going forward that significant changes may need to be made to the NCL binaries for OS X in order for them to be functional at all. I&#39;ll be happy to serve as a guinea pig for fixes if a 10.11 system isn&#39;t available for testing...</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Kyle</div><div><div><div dir="ltr"><div><div dir="ltr">----------------------------------------<div>Kyle S. Griffin</div><div>Department of Atmospheric and Oceanic Sciences</div><div>University of Wisconsin - Madison</div><div>Room 1407</div><div>1225 W Dayton St, Madison, WI 53706</div><div>Email: <a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div></div></div></div></div></div>
</div>
<br>_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>