Re: NCL error - libcrypto and libssl plus not able to load gsn_code.ncl

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 10 2011 - 09:16:08 MST

On Mar 9, 2011, at 6:59 PM, Khalia Hill wrote:

> Hi,
>
> I have tried to install the openDAP enabled version 5.2.1 on my laptop which is running Fedora 11.
>
> I have two problems. The first is I get this error when I start ncl
>
> ncl: /usr/lib/libcrypto.so.0.9.8: no version information is available (required by ncl)
> ncl: /usr/lib/libssl.so.0.9.8: no version information is available (required by ncl)
>
> I do have these two libraries, however I have the newer versions – 0.9.8n. I have tried to create a link from libcrypto.so.0.9.8 to the ‘n’ version which seemed to get rid of these errors for a while but now they have returned. I have also set up the LD_LIBRARY_PATH as described on your website.

Hi Khalia,

If you don't need an OPeNDAP-enabled version of NCL, then I suggest installing the non-OPeNDAP version, which doesn't have dependencies on the above libraries.

>
> The second problem is that I’m getting this error when I try to run scripts:
>
> fatal: could not open $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
> fatal: error at line 4 in file wrf_Surface.ncl

The above error is indicating that either NCARG_ROOT is not set or it is set incorrectly, or the file simply isn't there.

I'm not sure why it behaves differently when you run it interactively, but are you running it *exactly* the same way?

For example, are you typing:

   ncl wrf_Surface.ncl

and this produces the error, but then running ncl interactively:

ncl
ncl 0> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"

works fine?

This really makes no sense. I wonder if there's some other kind of error in your wrf_Surface.ncl script.

What happens if you put the line:

 system("ls $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl")

before the load calls?

--Mary

>
> However the gsn_code.ncl script does exist in that location, the NCARG_ROOT is set and when I start ncl and type in load “$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl” there is no problem. Do you know when running the script it cannot load the file?
>
> Kind regards,
>
> Khalia Hill
>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Mar 10 09:16:15 2011

This archive was generated by hypermail 2.1.8 : Thu Mar 10 2011 - 21:49:15 MST