<p dir="ltr">"locate" depends on a database that is auto-generated, I think. Try the command again first. Also, the suggestion to install gfortran or gfortran-dev might solve the problem.</p>
<p dir="ltr">John Trostel<br>
<a href="mailto:jtrostel@gmail.com.com">jtrostel@gmail.com.com</a></p>
<div class="gmail_extra"><br><div class="gmail_quote">On Nov 29, 2016 18:35, "Mary Haley" <<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Sara,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I noticed that your "locate libgfortran.so.3" command didn't produce any results. I don't think you installed the file that you actually wanted.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you google "error while loading shared libraries libgfortran.so.3", you will see some solutions. One of them was something like this:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">sudo apt-get install libgfortran3<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Or, maybe you just need to install gfortran:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">sudo apt-get install gfortran</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The other possibility is that the file got installed, but in a non-standard location that NCL can't see. You may need to set LD_LIBRARY_PATH to this directory to help NCL find it. See:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://archive.ambermd.org/201311/0370.html" target="_blank">http://archive.ambermd.org/<wbr>201311/0370.html</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">If you still can't find the file, then first see if you have gfortran:</div><div class="gmail_default"><br></div><div class="gmail_default">which gfortran</div><div class="gmail_default"><br></div><div class="gmail_default">If it echoes back a path, like "/usr/local/bin/gfortran", then you can use this information to see if "libgfortran" got installed anywhere under /usr/local (or whatever parent path it echoes back at you):</div><div class="gmail_default"><br></div><div class="gmail_default">find /usr/local -name 'libgfortran*' -print</div><div class="gmail_default"><br></div><div class="gmail_default">If you find libgfortran.so.3, then try setting LD_LIBRARY_PATH to this path.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary<br></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 29, 2016 at 8:27 AM, 475114511 <span dir="ltr"><<a href="mailto:475114511@qq.com" target="_blank">475114511@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei';line-height:23.799999237060547px">Dear Sir/Madam,</div><div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei';line-height:23.799999237060547px">I've installed NCL in CentOS but when I input 'ng4ex gsun01n',it showed that there was no libgfortran.so.3 file.Then I input'sudo wget install libgfortran2:amd 64',it showed 'complete'.But I still can not find that file .What can I do next to fix this ?</div><div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei';line-height:23.799999237060547px">Thanks so much!</div><div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei';line-height:23.799999237060547px"> Sara</div><div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei';line-height:23.799999237060547px"><img src="cid:9BA018B6@FD792C36.479E3D58" style="line-height:1.5;font-family:Verdana;width:894px;height:536px"></div></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/mailma<wbr>n/listinfo/ncl-install</a><br>
<br></blockquote></div><br></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></div>