<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="">Hey Alan, sorry for bothering you again but I solved the issue. For some reason, even after I fresh-installed NCL using brew cask, one library was not linked in <font face="Courier" class="">/usr/local/lib</font>. Doing so (<font face="Courier" class="">ln -fs /usr/local/Cellar/gcc/4.9.0/lib/libquadmath.0.dylib</font>), fixed the issue. I linked the one associated with the old gcc, just to be sure..<div class="">Thanks again</div><div class="">cheers<br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">Guido Cioni</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://guidocioni.altervista.org" class="">http://guidocioni.altervista.org</a>&nbsp;</div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 16 Jun 2016, at 09:46, Guido Cioni &lt;<a href="mailto:guidocioni@gmail.com" class="">guidocioni@gmail.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="">I think there is something wrong in my brew directory. Just followed your instructions and getting the same error:&nbsp;<div class=""><br class=""></div><div class=""><div class=""><font face="Courier" style="font-size: 11px;" class="">d134-235:~ guidocioni$ ng4ex gsun01n -clean</font></div><div class=""><font face="Courier" style="font-size: 11px;" class=""><br class=""></font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">NCAR Graphics NCL Example &lt;gsun01n&gt;</font></div><div class=""><font face="Courier" style="font-size: 11px;" class=""><br class=""></font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">This example was set up to display the output to an</font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">X11 window.</font></div><div class=""><font face="Courier" style="font-size: 11px;" class=""><br class=""></font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">&nbsp; Copying gsun01n.ncl</font></div><div class=""><font face="Courier" style="font-size: 11px;" class=""><br class=""></font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">Running NCL...</font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">dyld: Library not loaded: /usr/local/lib/libquadmath.0.dylib</font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">&nbsp; Referenced from: /usr/local/ncl-6.3.0/bin/ncl</font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">&nbsp; Reason: image not found</font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">Trace/BPT trap</font></div><div class=""><font face="Courier" style="font-size: 11px;" class=""><br class=""></font></div><div class=""><font face="Courier" style="font-size: 11px;" class="">ncl failed.</font></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">NCL launches, though..</div><div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">Guido Cioni</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://guidocioni.altervista.org/" class="">http://guidocioni.altervista.org</a>&nbsp;</div>

</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On 15 Jun 2016, at 20:27, Guido Cioni &lt;<a href="mailto:guidocioni@gmail.com" class="">guidocioni@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">Hey Alan, then I will try to install it by using brew. Until now I was downloading the binary from the website and using brew only for gcc. </p>
<div class="gmail_quote">Il 15 giu 2016 8:25 PM, "Alan Brammer" &lt;<a href="mailto:abrammer@albany.edu" class="">abrammer@albany.edu</a>&gt; ha scritto:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">I just installed NCL on 10.11 on a fresh laptop and got it working straight away with no issues using brew / brew cask package manager. &nbsp;<a href="https://caskroom.github.io/" target="_blank" class="">https://caskroom.github.io</a><div class=""><br class=""></div><div class=""><div class="">once home-brew is installed it’s as simple as&nbsp;</div><div class=""><br class=""></div><div class="">brew cask install ncar-ncl</div><div class=""><br class=""></div><div class="">The git repo was updated yesterday to acknowledge that the 10.10 version works with 10.11 so if you already had brew make sure you update first.&nbsp;</div><div class=""><br class=""></div><div class="">The environment variables that are listed in the `brew cask info ncar-ncl ` which worked for me</div><div class="">&nbsp;are the obvious&nbsp;</div><div class=""><div class=""><font face="Menlo" class="">&nbsp;<span style="white-space:pre-wrap" class="">        </span>export NCARG_ROOT=/usr/local/ncl-6.3.0</font></div><div class=""><font face="Menlo" class=""><span style="white-space:pre-wrap" class="">        </span>export PATH=$NCARG_ROOT/bin:"$PATH”</font></div></div><div class="">and&nbsp;</div><div class=""><font face="Menlo" class="">&nbsp;export DYLD_FALLBACK_LIBRARY_PATH=$(dirname $(gfortran --print-file-name libgfortran.3.dylib)):$DYLD_FALLBACK_LIBRARY_PATH</font></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">This install the 10.10 version which seems to work fine on 10.11.&nbsp; Have had it running on my main computer since 10.11 came out without issue.&nbsp;</div><div class="">brew will install both gcc and xquartz as dependencies, if they are not installed/found already.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Alan</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 15 Jun 2016, at 05:12, Guido Cioni &lt;<a href="mailto:guidocioni@gmail.com" target="_blank" class="">guidocioni@gmail.com</a>&gt; wrote:</div><br class=""><div class=""><div style="word-wrap:break-word" class="">I have been having problems with NCL on El Capitan since months, but thought it was my fault. Now I’m starting to think there is some problem with the distribution.&nbsp;<div class="">I think the issues arise because NCL is compiled with a gcc version older than the one installed on El Capitan (6.1.0. vs 4.9.2). I also tried to set the environmental variables to a folder<u class=""> where I downloaded the older version of gcc</u> but still get issues..</div><div class=""><br class=""></div><div class=""><div class=""><font face="Menlo" class="">export DYLD_LIBRARY_PATH=/usr/local/Cellar/gcc/4.9.0/lib</font></div><div class=""><font face="Menlo" class="">export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/Cellar/gcc48/4.8.5/lib/gcc/4.8</font></div></div><div class=""><br class=""></div><div class="">I didn’t explore the issue since I usually run NCL on the cluster, but it would be nice to know if someone is aware of this issue with El Capitan.</div><div class=""><div class="">
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><br class="">Guido Cioni</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><a href="http://guidocioni.altervista.org/" target="_blank" class="">http://guidocioni.altervista.org</a>&nbsp;</div>

</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On 15 Jun 2016, at 11:05, Benjamin Lamptey &lt;<a href="mailto:bllamptey@gmail.com" target="_blank" class="">bllamptey@gmail.com</a>&gt; wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hello,<div class="">I have installed NCL&nbsp;ncl_ncarg-6.3.0.MacOS_10.11_64bit_gcc530.tar.gz</div><div class="">on my MacBook Pro (running El Capitan) but I get the following error</div><div class=""><br class=""></div><div class="">================</div><div class=""><div class="">bash-3.2$ ncl</div><div class="">dyld: Library not loaded: /usr/local/lib/libfontconfig.1.dylib</div><div class="">&nbsp; Referenced from: /usr/local/bin/ncl</div><div class="">&nbsp; Reason: image not found</div><div class="">Trace/BPT trap: 5</div><div class="">=================</div><div class=""><br class=""></div><div class="">I installed gcc 6.1.0 and gfortan 6.1.0 before doing the NCL installation.</div><div class=""><br class=""></div><div class="">When I got the error, I included the following line in both my .bash_profile and .profile files</div><div class="">===============</div><div class="">export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc5<br class=""></div><div class="">===========</div><div class="">but it does not solve the error.</div><div class=""><br class=""></div><div class="">Any help will be appreciated.</div><div class=""><br class=""></div><div class="">Regards</div><div class="">Ben</div><div class=""><br class=""></div>-- <br class=""><div data-smartmail="gmail_signature" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class="">Benjamin L. Lamptey, PhD (Physicist, Meteorologist and Geoscientist)<br class="">Deputy Director-General<br class="">African Centre of Meteorological Applications for
Development (ACMAD)</div><div class="">55, Avenue des Ministères, PL6<br class="">BP 13184, 1er Arrondissement, Niamey Plateau, Niger,<span style="font-size:10pt;font-family:Arial" class=""><br class="">Tel.(+227)&nbsp;</span>















<span class="">20 73.49.92</span>&nbsp;<br class="">Fax: <a href="tel:%28%2B227%29%2020723627" value="+22720723627" target="_blank" class="">(+227) 20723627</a> <br class=""></div><a href="http://www.acmad.net/" target="_blank" class="">www.acmad.</a>org</div><div dir="ltr" class=""><br class=""><div class="">Cell: <a href="tel:%2B22796645655" value="+22796645655" target="_blank" class="">+22796645655</a>; <a href="tel:%2B233265121750" value="+233265121750" target="_blank" class="">+233265121750</a><br class=""><a href="mailto:bllamptey@gmail.com" target="_blank" class="">Email: b.lamptey@acmad.org; bllamptey@gmail.com</a><br class="">Skype: benlamptey<br class=""><br class=""></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" target="_blank" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" target="_blank" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class=""></div></blockquote></div><br class=""></div></div></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>