<div dir="ltr">Hi all, <div><br></div><div>I get the following error when I try to run ncl:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">







<p class="gmail-p1"><span class="gmail-s1">dyld: Library not loaded: /opt/local/lib/libgcc/libgfortran.3.dylib</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space">  </span>Referenced from: /usr/local/ncl-6.4.0/bin/ncl</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space">  </span>Reason: image not found</span></p>
<p class="gmail-p1"><span class="gmail-s1">Trace/BPT trap: 5</span></p></blockquote><div>I have read the frequent install issues page at <a href="https://www.ncl.ucar.edu/Download/macosx.shtml">https://www.ncl.ucar.edu/Download/macosx.shtml</a>, and followed the instructions to install gcc/gfortran as recommended for this error, but to no avail.   I am running OSX 10.11.6 El Capitan on a Mac Pro, and I used the ncl_ncarg-6.4.0-MacOS_10.11_64bit_nodap_gnu540.tar.gz binary.   </div><div><br></div><div>Output of the requested terminal commands:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">







<p class="gmail-p1"><span class="gmail-s1">datascienceuser</span><span class="gmail-s2">@</span><span class="gmail-s3">IGSARMEWWSDLB2:</span><span class="gmail-s4"><b>~</b></span><span class="gmail-s2">$ which ncl</span></p>
<p class="gmail-p2"><span class="gmail-s1">/usr/local/ncl-6.4.0/bin/ncl</span></p>
<p class="gmail-p1"><span class="gmail-s1">datascienceuser</span><span class="gmail-s2">@</span><span class="gmail-s3">IGSARMEWWSDLB2:</span><span class="gmail-s4"><b>~</b></span><span class="gmail-s2">$ <span class="gmail-Apple-converted-space">  </span>ncl -V</span></p>
<p class="gmail-p2"><span class="gmail-s1">dyld: Library not loaded: /opt/local/lib/libgcc/libgfortran.3.dylib</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-converted-space">  </span>Referenced from: /usr/local/ncl-6.4.0/bin/ncl</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-converted-space">  </span>Reason: image not found</span></p>
<p class="gmail-p2"><span class="gmail-s1">Trace/BPT trap: 5</span></p>
<p class="gmail-p2"><span class="gmail-s5">datascienceuser</span><span class="gmail-s1">@</span><span class="gmail-s3">IGSARMEWWSDLB2:</span><span class="gmail-s4"><b>~</b></span><span class="gmail-s1">$ <span class="gmail-Apple-converted-space">  </span>otool -L `which ncl`</span></p>
<p class="gmail-p2"><span class="gmail-s1">/usr/local/ncl-6.4.0/bin/ncl:</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 8.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/X11/lib/libcairo.2.dylib (compatibility version 11403.0.0, current version 11403.6.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/X11/lib/libfontconfig.1.dylib (compatibility version 11.0.0, current version 11.2.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/local/lib/libgcc/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/local/lib/libgcc/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/local/lib/libgcc/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.21.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/local/lib/libgcc/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)</span></p>
<p class="gmail-p2"><span class="gmail-s1"><span class="gmail-Apple-tab-span">  </span>/opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)</span></p>
<p class="gmail-p2"><span class="gmail-s5">datascienceuser</span><span class="gmail-s1">@</span><span class="gmail-s3">IGSARMEWWSDLB2:</span><span class="gmail-s4"><b>~</b></span><span class="gmail-s1">$ <span class="gmail-Apple-converted-space">  </span>env | grep NCARG</span></p>
<p class="gmail-p2"><span class="gmail-s1">NCARG_ROOT=/usr/local/ncl-6.4.0</span></p>
<p class="gmail-p1"><span class="gmail-s1">datascienceuser</span><span class="gmail-s2">@</span><span class="gmail-s3">IGSARMEWWSDLB2:</span><span class="gmail-s4"><b>~</b></span><span class="gmail-s2">$ <span class="gmail-Apple-converted-space">  </span>which gcc</span></p>
<p class="gmail-p2"><span class="gmail-s1">/usr/local/bin/gcc</span></p>
<p class="gmail-p2"><span class="gmail-s5">datascienceuser</span><span class="gmail-s1">@</span><span class="gmail-s3">IGSARMEWWSDLB2:</span><span class="gmail-s4"><b>~</b></span><span class="gmail-s1">$ <span class="gmail-Apple-converted-space">  </span>which gfortran</span></p>
<p class="gmail-p2"><span class="gmail-s1">/usr/local/bin/gfortran</span></p>
<p class="gmail-p2"><span class="gmail-s5">datascienceuser</span><span class="gmail-s1">@</span><span class="gmail-s3">IGSARMEWWSDLB2:</span><span class="gmail-s4"><b>~</b></span><span class="gmail-s1">$ <span class="gmail-Apple-converted-space">  </span>gfortran --version</span></p>
<p class="gmail-p2"><span class="gmail-s1">GNU Fortran (GCC) 7.1.0</span></p>
<p class="gmail-p2"><span class="gmail-s1">Copyright (C) 2017 Free Software Foundation, Inc.</span></p>
<p class="gmail-p2"><span class="gmail-s1">This is free software; see the source for copying conditions.<span class="gmail-Apple-converted-space">  </span>There is NO</span></p>
<p class="gmail-p2"><span class="gmail-s1">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></p>
<p class="gmail-p3"><span class="gmail-s1"></span><br></p>
<p class="gmail-p2"><span class="gmail-s5">datascienceuser</span><span class="gmail-s1">@</span><span class="gmail-s3">IGSARMEWWSDLB2:</span><span class="gmail-s4"><b>~</b></span><span class="gmail-s1">$ <span class="gmail-Apple-converted-space">  </span>gcc --version</span></p>
<p class="gmail-p2"><span class="gmail-s1">gcc (GCC) 7.1.0</span></p>
<p class="gmail-p2"><span class="gmail-s1">Copyright (C) 2017 Free Software Foundation, Inc.</span></p>
<p class="gmail-p2"><span class="gmail-s1">This is free software; see the source for copying conditions.<span class="gmail-Apple-converted-space">  </span>There is NO</span></p>
<p class="gmail-p2"><span class="gmail-s1">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></p></blockquote><div><br clear="all"><div>Thanks,</div><div>David Watkins</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b style="font-size:12.8px">David Watkins</b><br></div><div>USGS Office of Water Information</div><div>Data Science Team</div><div><a href="mailto:wwatkins@usgs.gov" target="_blank">wwatkins@usgs.gov</a> | 608-821-3895<br><div><br></div></div></div></div></div></div>
</div></div>