<div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Hello Benedikt, try these from your terminal;</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><font color="#0000ff">locate <span style="font-family:helvetica,arial,sans-serif">libstdc++.6.dylib library</span></font></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><span style="font-family:helvetica,arial,sans-serif"><font color="#0000ff"><br></font></span></div><div class="gmail_default"><font color="#0000ff"><font face="helvetica, arial, sans-serif">cd </font><span style="font-family:helvetica,arial,sans-serif;font-size:13px">/usr/local/ncl_6.3.0/bin/lib </span></font></div><div class="gmail_default"><span style="font-family:helvetica,arial,sans-serif;font-size:13px"><font color="#0000ff"><br></font></span></div><div class="gmail_default"><span style="font-family:helvetica,arial,sans-serif;font-size:13px"><font color="#0000ff">sudo ln -s /location/given/by/locating/libstdc++.6.dylib .</font></span></div><div class="gmail_default"><span style="font-family:helvetica,arial,sans-serif;font-size:13px"><font color="#0000ff"><br></font></span></div><div class="gmail_default"><font color="#000000" face="helvetica, arial, sans-serif">Kindly remember to put the dot at the end of the last command, it is just soft linking the location of the file to the current directory.</font></div><div class="gmail_default"><font color="#000000" face="helvetica, arial, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="helvetica, arial, sans-serif">Hope it helps. Cheer!!</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 1:54 PM, Benedikt Becsi <span dir="ltr"><<a href="mailto:benedikt.becsi@boku.ac.at" target="_blank">benedikt.becsi@boku.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:Helvetica,Arial,sans-serif;font-size:13px">Dear all,<br><br>installing ncl on Mac did work, but when I try to run the test script ng4ex gsun01n -clean I get the following error message:<br><br><font color="#0000FF">dyld: Symbol not found: __ZTTNSt7__cxx1118basic_<wbr>stringstreamIcSt11char_<wbr>traitsIcESaIcEEE<br> Referenced from: /usr/local/ncl_6.3.0/bin/ncl<br> Expected in: /usr/lib/libstdc++.6.dylib<br> in /usr/local/ncl_6.3.0/bin/ncl</font><br><br>here are the details about my setup environment:<br><br><font color="#0000FF">Benedikts-MacBook-Pro:bin ich$ which ncl<br>/usr/local/ncl_6.3.0/bin/ncl<br>Benedikts-MacBook-Pro:bin ich$ ncl -V<br>6.3.0<br>Benedikts-MacBook-Pro:bin ich$ otool -L `which ncl`<br>/usr/local/ncl_6.3.0/bin/ncl:<br> /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)<br> /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)<br> /System/Library/Frameworks/<wbr>LDAP.framework/Versions/A/LDAP (compatibility version 1.0.0, current version 2.4.0)<br> /opt/X11/lib/libfontconfig.1.<wbr>dylib (compatibility version 10.0.0, current version 10.0.0)<br> /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)<br> /opt/X11/lib/libXrender.1.<wbr>dylib (compatibility version 5.0.0, current version 5.0.0)<br> /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)<br> /opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)<br> /opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)<br> /opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)<br> /usr/local/lib/libstdc++.6.<wbr>dylib (compatibility version 7.0.0, current version 7.22.0)<br> /usr/local/lib/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)<br> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)<br> /usr/local/lib/libgcc_s.1.<wbr>dylib (compatibility version 1.0.0, current version 1.0.0)<br>Benedikts-MacBook-Pro:bin ich$ env | grep NCARG<br>NCARG_ROOT=/usr/local/ncl_6.3.<wbr>0<br>Benedikts-MacBook-Pro:bin ich$ which gcc<br>/usr/local/Cellar/gcc/6.3.0_1/<wbr>bin/gcc<br>Benedikts-MacBook-Pro:bin ich$ which gfortran<br>/usr/local/Cellar/gcc/6.3.0_1/<wbr>bin/gfortran<br>Benedikts-MacBook-Pro:bin ich$ gfortran --version<br>GNU Fortran (Homebrew GCC 6.3.0_1) 6.3.0<br>Copyright (C) 2016 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions. There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br><br>Benedikts-MacBook-Pro:bin ich$ gcc --version<br>gcc (Homebrew GCC 6.3.0_1) 6.3.0<br>Copyright (C) 2016 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions. There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br></font><br>I put the following lines into my .bashrc file:<br><br><font color="#0000FF">export NCARG_ROOT=/usr/local/ncl_6.3.<wbr>0<br>export PATH=$NCARG_ROOT/bin:$PATH<br>export PATH=/usr/local/Cellar/gcc/6.<wbr>3.0_1/bin:$PATH<br>export DYLD_FALLBACK_LIBRARY_PATH=/<wbr>usr/local/Cellar/gcc/6.3.0_1/<wbr>lib/gcc/6</font><br><br>There
seems to be a problem with my libstdc++.6.dylib library. The file in
the /usr/lib/ directory is just an alias and points to a file named
libstdc++.6.0.9.dylib. Could it be that ncl has problems with that
version of the library?<br><br>Thank you very much for the help!<br>All the best,<br>Benedikt Becsi</div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div><font face="trebuchet ms, sans-serif" color="#0000ff">Try not to become a man of success but rather a man of value-Albert Einstein</font></div><div><font face="trebuchet ms, sans-serif" color="#0000ff"><br></font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">University of Cape Coast|</font><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px">College of Agriculture and Natural Sciences|</span><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px">Department of Physics|</span></font></div><div><font face="trebuchet ms, sans-serif" color="#0000ff">Team Leader|Recycle Up! Ghana|Technology Without Borders|</font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">Other emails: </font><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@ucc.edu.gh" target="_blank">kwesi.quagraine@ucc.edu.gh</a>|</span><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@teog.de" target="_blank">kwesi.quagraine@teog.de</a>|</span></font></div><div><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8px"><font color="#0000ff">Mobile: +233266173582</font></span></div></div><div><font face="trebuchet ms, sans-serif" color="#0000ff">Skype: quagraine_cwasi</font></div><div><font face="trebuchet ms, sans-serif" color="#0000ff">Twitter: @Pkdilly</font></div><div><br></div></div></div></div></div></div></div></div>
</div>