<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 8, 2013, at 1:00 AM, fereshteh komijani &lt;<a href="mailto:fereshtehkomijani@gmail.com">fereshtehkomijani@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">


        
        
        
        <style type="text/css">
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
                A:link { so-language: zxx }
        -->
        </style><p style="margin-bottom:0in">Dear 
</p><p style="margin-bottom:0in">i cant tolerate and do “yum remove
ncl” .therefore others set (like NCARG_XXXX environment variables)
removed automatically. Also base on  your recommendation i  set
NCARG_ROOT as:
</p><p style="margin-bottom:0in">export
NCARG_ROOT=/home/fkomijani/NCL-6.1.2
</p><p style="margin-bottom:0in">export PATH=$NCARG_ROOT/bin:$PATH</p><p style="margin-bottom:0in">then i type: <span style="font-weight:normal">ng4ex
gsun01n -clean</span></p><p style="margin-bottom:0in;font-weight:normal">it reply:</p>
<table width="100%" cellpadding="4" cellspacing="0" style="position: static; z-index: auto; ">
        <colgroup><col width="256*">
        </colgroup><tbody><tr>
                <td style="border:1px solid rgb(0,0,0);padding:0.04in" valign="TOP" width="100%"><p style="margin-bottom:0in;font-weight:normal">“ng4ex
                        gsun01n -clean
</p><p style="margin-bottom:0in;font-weight:normal">NCAR Graphics
                        NCL Example &lt;gsun01n&gt;
</p><p style="margin-bottom:0in;font-weight:normal">This example
                        was set up to display the output to an
</p><p style="margin-bottom:0in;font-weight:normal">X11 window.
</p><p style="margin-bottom:0in;font-weight:normal"> Copying
                        gsun01n.ncl
</p><p style="margin-bottom:0in;font-weight:normal">Running NCL...
</p><p style="margin-bottom:0in;font-weight:normal">ncl: error
                        while loading shared libraries: libbz2.so.1.0: cannot open shared
                        object file: No such file or directory
</p><p style="font-weight:normal">ncl failed.
 “</p>
                </td>
        </tr>
</tbody></table><p style="margin-bottom:0in;font-weight:normal"><br>
</p><p style="margin-bottom:0in"><span style="font-weight:normal">therefor
i type  “locate libcrypto.so.0.9.8” and nothing happen.</span></p><div><br></div></div></blockquote>The library is "libbz2.so.1.0", not "lib crypto.so.0.9.8", so you should be running locate on that library:</div><div><br></div><div>locate libbz2.so.1.0</div><div><br></div><div>If you try googling "<blockquote type="cite"><div dir="ltr"><table width="100%" cellpadding="4" cellspacing="0" style="position: static; z-index: auto; "><tbody><tr><td valign="TOP" width="100%" style="border: 1px solid rgb(0, 0, 0); padding: 0.04in; "><p style="margin-bottom: 0in; ">&nbsp;libbz2.so.1.0: cannot open shared object file: No such file or directory</p></td></tr></tbody></table></div></blockquote><div><br></div><div><br></div><div>you will see several links come up, and they explain how to get that missing library. This is not an NCL library, but apparently NCL has a dependency on it, probably perhaps to some other external libraries it depends on.&nbsp;</div><div><br></div><div>Please try to use google and the NCL search button to find the answers to some of these questions. &nbsp;For example, I typed "libbz2" in the NCL search menu, and found an ncl-talk question that already dealt with this issue:</div><div><br></div><div><a href="http://www.ncl.ucar.edu/Support/install_archives/2012/0125.html">http://www.ncl.ucar.edu/Support/install_archives/2012/0125.html</a></div><div><br></div><div>Try</div><div><br></div><div>yum install bzip2-devel</div><div><br></div><div><br></div><div><br></div><blockquote type="cite"><div dir="ltr"><p style="margin-bottom:0in"><span style="font-weight:normal">Hence
i type” yum install openssl” but it reply that :Package
openssl-1.0.0j-1.fc16.i686 already installed and latest version.  </span>
</p><p style="margin-bottom:0in"><span style="font-weight:normal">then i
“locate  libbz2.so.1.0” it reply : /lib/libbz2.so.1.0.6
.
Therefore i set : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib in
.bashrc file.</span></p><p style="margin-bottom:0in"><span style="font-weight:normal">Again
i try to run ncl example via” ng4ex gsun01n -clean” and same error
apperas.</span></p><p style="margin-bottom:0in"><span style="font-weight:normal">I
check <a href="http://www.ncl.ucar.edu/Download/linux.shtml">http://www.ncl.ucar.edu/Download/linux.shtml</a>
site ,you say that: you may need to install some system libraries.
Therefore i need to install  libbz2.so.1.0? With which command?</span></p><p style="margin-bottom:0in"><span style="font-weight:normal">In
advance Thanks for your attention</span></p><p style="margin-bottom:0in"><span style="font-weight:normal">best
regard</span></p><p style="margin-bottom:0in"><span style="font-weight:normal">fereshte</span></p><p style="margin-bottom:0in"><br>
</p>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 8, 2013 at 9:53 AM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is an automated reply. I will have little access to email July 5-14, 2013.<br>
<br>
If this email is a question pertaining to NCL, PyNGL, PyNIO, or NCAR Graphics, please resend it to the appropriate email list. You must subscribe first:<br>
<br>
&nbsp; &nbsp;NCL: <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&nbsp; &nbsp;NCL install: <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
&nbsp; &nbsp;PyNGL/PyNIO: <a href="http://mailman.ucar.edu/mailman/listinfo/pyngl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/pyngl-talk</a><br>
&nbsp; &nbsp;NCARG: <a href="http://mailman.ucar.edu/mailman/listinfo/ncarg-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncarg-talk</a><br>
<br>
Thank you,<br>
<br>
--Mary Haley<br>
</blockquote></div><br><br clear="all"><br>-- <br><div style="text-align:center"><font style="background-color:#cc33cc" color="#ffffff" size="4" face="comic sans ms,sans-serif"><strong>**Angel**</strong></font></div>
<div style="text-align:center">&nbsp;</div>
<div style="text-align:center"><span><strong><u><font style="background-color:#3333ff" color="#ffff33" size="4" face="Arial Narrow"></font></u></strong></span>&nbsp;</div>
</div>
</blockquote></div><br></body></html>