<div dir="ltr"><div class="gmail_default" style="font-size:small">Erika,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think you are on the right path with setting DYLD_FALLBACK_LIBRARY_PATH, but I think DYLD_LIBRARY_PATH is set incorrectly.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Are you really setting </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><font face="monospace"><span style="font-size:13px">export DYLD_FALLBACK_LIBRARY_PATH=/</span><span style="font-size:13px"><font color="#ff0000">path/to/</font>homebrew/gcc-4.8</span><br style="font-size:13px"></font></div><div class="gmail_default" style="font-size:small"><font face="monospace"><span style="font-size:13px">export DYLD_LIBRARY_PATH=<font color="#ff0000">/path/to/l</font>ib</span><br style="font-size:13px"></font></div><div class="gmail_default" style="font-size:small"><span style="font-size:13px"><br></span></div><div class="gmail_default">Or is the "<font color="#ff0000">/path/to</font>" being replaced with the actual paths on your system?</div><div class="gmail_default"><br></div><div class="gmail_default">Try this: first make sure DYLD_FALLBACK_LIBRARY_PATH is set correctly, and try not setting DYLD_LIBRARY_PATH at all.</div><div class="gmail_default"><br></div><div class="gmail_default">Also, you might want to see if anything close to "libstcd++xxxx" resides in /path/to/homebrew/gcc-4.8. You can verify this by typing on the UNIX command line:</div><div class="gmail_default">
<p class=""><font face="monospace"><span class=""></span><font color="#000000"> find <span style="font-size:13px">/</span></font><span style="font-size:13px"><font color="#000000">path/to/homebre</font>w/gcc-4.8</span> -name 'libstdc++*' -print</font></p></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Again, "/path/to" should be replaced with the correct path. The above should produce output like this:</div><div class="gmail_default" style="font-size:small"><br></div>
<p class=""><font face="monospace">/path/to/homebrew/gcc-4.8</font></p><div class="gmail_default" style="font-size:small;display:inline"><font face="monospace">/</font></div><font face="monospace"><font color="#000000"><span style="background-color:rgb(255,255,255)">lib/libstdc++.a</span><br></font>/path/to/homebrew/gcc-4.8<font color="#000000"><span style="background-color:rgb(255,255,255)">/lib/libstdc++.dylib</span><br></font>/path/to/homebrew/gcc-4.8<font color="#000000"><span style="background-color:rgb(255,255,255)">/lib/libstdc++.la</span></font></font><p></p><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 15, 2014 at 3:47 PM, Erika Roesler <span dir="ltr"><<a href="mailto:eroesler@gmail.com" target="_blank">eroesler@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>I downloaded the precompiled binary
of NCLv 6.2.1. After reading the installation directions, I also
installed a newer version of gcc from home brew. I had an older
version of gcc (v 4.2) that worked well with Mavericks, but was not
compatible with the new version of NCL. <br><br></div>I had many errors when trying to use NCL 6.2.1. The first error was <br><br>dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib<br> Referenced from: /usr/local/bin/ncl<br> Reason: image not found<br>Trace/BPT trap: 5<br><br></div>I exporting the recommended variables:<br>export DYLD_FALLBACK_LIBRARY_PATH=/path/to/homebrew/gcc-4.8<br><br></div><div>and <br><br>export DYLD_LIBRARY_PATH=/path/to/lib<br><br><br></div>The next error was <br>dyld: Library not loaded: /usr/local/lib/libstdc++.6.<div dir="ltr">dylib<br> Referenced from: /usr/local/bin/ncl<br> Reason: image not found<br>Trace/BPT trap: 5<br><div><br><br></div><div>The last error was dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address<br> Referenced from: /usr/lib/libgomp.1.dylib<br> Expected in: /usr/lib/libSystem.B.dylib<br><br>dyld: Symbol not found: ___emutls_get_address<br> Referenced from: /usr/lib/libgomp.1.dylib<br> Expected in: /usr/lib/libSystem.B.dylib<br><br></div><div>After
reading some sourceforge forums, the last error could be the result of
conflicting versions of gcc. I didn't remove the older versions (I need
them for other programs) before installing the newer version. <br><br></div><div>Have you seen these errors together before? If I 'brew uninstall gcc48' and tried again, do you know a work-around? <br><br></div><div>Thank you very much for your help.</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" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br></blockquote></div></div>