[ncl-install] run error

Mary Haley haley at ucar.edu
Wed Jul 10 15:32:24 MDT 2013


On Jul 8, 2013, at 1:00 AM, fereshteh komijani <fereshtehkomijani at gmail.com> wrote:

> Dear
> 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:
> export NCARG_ROOT=/home/fkomijani/NCL-6.1.2
> export PATH=$NCARG_ROOT/bin:$PATH
> then i type: ng4ex gsun01n -clean
> it reply:
> “ng4ex gsun01n -clean
> NCAR Graphics NCL Example <gsun01n>
> This example was set up to display the output to an
> X11 window.
> Copying gsun01n.ncl
> Running NCL...
> ncl: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
> ncl failed. “
> 
> 
> therefor i type “locate libcrypto.so.0.9.8” and nothing happen.
> 
The library is "libbz2.so.1.0", not "lib crypto.so.0.9.8", so you should be running locate on that library:

locate libbz2.so.1.0

If you try googling "
> 
>  libbz2.so.1.0: cannot open shared object file: No such file or directory


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. 

Please try to use google and the NCL search button to find the answers to some of these questions.  For example, I typed "libbz2" in the NCL search menu, and found an ncl-talk question that already dealt with this issue:

http://www.ncl.ucar.edu/Support/install_archives/2012/0125.html

Try

yum install bzip2-devel



> Hence i type” yum install openssl” but it reply that :Package openssl-1.0.0j-1.fc16.i686 already installed and latest version.
> 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.
> Again i try to run ncl example via” ng4ex gsun01n -clean” and same error apperas.
> I check http://www.ncl.ucar.edu/Download/linux.shtml site ,you say that: you may need to install some system libraries. Therefore i need to install libbz2.so.1.0? With which command?
> In advance Thanks for your attention
> best regard
> fereshte
> 
> 
> 
> On Mon, Jul 8, 2013 at 9:53 AM, Mary Haley <haley at ucar.edu> wrote:
> This is an automated reply. I will have little access to email July 5-14, 2013.
> 
> 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:
> 
>    NCL: http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>    NCL install: http://mailman.ucar.edu/mailman/listinfo/ncl-install
>    PyNGL/PyNIO: http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>    NCARG: http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
> 
> Thank you,
> 
> --Mary Haley
> 
> 
> 
> -- 
> **Angel**
>  
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20130710/ddc520ee/attachment.html 


More information about the ncl-install mailing list