<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello:<div><br></div><div>Some time ago I downloaded NCL 6.3.0 on a MacBook Pro which is now running OS X Mojave (10.14.6).  As a WRF user I have always used the RIP post processor which utilizes NCAR Graphics and have been trying to build RIP.  I am running into a load/link error as follows:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Undefined symbols for architecture x86_64:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">  "__gfortran_stop_numeric_f08", referenced from:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      _r1mach_ in libncarg_c.a(r1mach.o)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">ld: symbol(s) not found for architecture x86_64</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">collect2: error: ld returned 1 exit status</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">make: [rip] Error 1 (ignored)</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">So the problem appears to be in the ncarg_c library.   All the other RIP executables appear to build correctly.   My output from the requested troubleshooting commands is as follows:</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">(base) Jeffreys-MacBook-Pro:lib jeffreytilley$ which ncl</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">/usr/local/ncl-6.3.0/bin/ncl</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">(base) Jeffreys-MacBook-Pro:lib jeffreytilley$ ncl -V</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">  Referenced from: /usr/local/ncl-6.3.0/bin/ncl</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">  Reason: image not found</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">Abort trap: 6</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">(base) Jeffreys-MacBook-Pro:lib jeffreytilley$ otool -L 'which ncl'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(97,0,1)"><b>error: </b></span><span style="font-variant-ligatures:no-common-ligatures">'which ncl': No such file or directory</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">(base) Jeffreys-MacBook-Pro:lib jeffreytilley$ env | grep NCARG</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">NCARG_ROOT=/usr/local/ncl-6.3.0</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">(base) Jeffreys-MacBook-Pro:lib jeffreytilley$ which gcc</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">/usr/bin/gcc</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">(base) Jeffreys-MacBook-Pro:lib jeffreytilley$ which gfortran</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">/usr/local/bin/gfortran</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">(base) Jeffreys-MacBook-Pro:lib jeffreytilley$ gfortran --version</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">GNU Fortran (GCC) 8.2.0</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">Copyright (C) 2018 Free Software Foundation, Inc.</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">This is free software; see the source for copying conditions.  There is NO</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">(base) Jeffreys-MacBook-Pro:lib jeffreytilley$ gcc --version</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">Apple clang version 11.0.0 (clang-1100.0.33.8)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">Target: x86_64-apple-darwin18.7.0</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">Thread model: posix</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(34,79,188)"><span style="font-variant-ligatures:no-common-ligatures">InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">I'm assuming that this gfortran version is incompatible with the 6.3 NCAR graphics version but would like advice on whether there is an easy fix with the NCL version I have or whether installing 6.6.2 is the quickest fix. </span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">Thanks,</span></div><div><span style="font-variant-ligatures:no-common-ligatures">Jeff</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div></span></div></div></div></div>