[ncl-install] NCL 5.1.0 and libcurl

Dennis Shea shea at ucar.edu
Mon Mar 30 21:57:12 MDT 2009


Yes. Of course, it worked.

However, the CDC has changed from 'open' to 'not-open'
You must register your IP address.

Offline I will send u the name of the CDC person to contact.

Regards
D



Mateus Teixeira wrote:
> Hi David,
> 
> Thanks for your suggestion, now NCL doesn't complains about any library, 
> but I would like to know if the example given in
> 
> http://www.ncl.ucar.edu/Applications/opendap.shtml
> 
> really works? Is the internet address correct?
> 
> NCL gives the following answer when I try to access the file shown in 
> that example:
> 
> ncl 0> url      = "http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/"
> ncl 1> filename = "ncep.reanalysis.dailyavgs/pressure/air.1948.nc 
> <http://air.1948.nc>"
> ncl 2> f = addfile(url + filename,"r")
> fatal:
> fatal:Could not open 
> (http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/ncep.reanalysis.dailyavgs/pressure/air.1948.nc)
> 
> In order to use NCL-opendap enabled, I have installed the following 
> packages in my fedora 10 installation:
> 
> openssl.i686                            0.9.8g-12.fc10
> openssl-devel.i386                   0.9.8g-12.fc10
> 
> libcurl.i386                            7.19.4-3.fc10
> libcurl-devel.i386                   7.19.4-3.fc10
> 
> libxml2.i386                            2.7.3-1.fc10
> libxml2-devel.i386                  2.7.3-1.fc10
> 
> libdap.i386                             3.8.2-1.fc10
> libdap-devel.i386                    3.8.2-1.fc10
> 
> libnc-dap.i386                          3.7.3-1.fc10
> libnc-dap-devel.i386                 3.7.3-1.fc10
> 
> zlib.i386                               1.2.3-18.fc9
> zlib-devel.i386                      1.2.3-18.fc9
> 
> 
> It seems that all versions of the packages needed for NCL-opendap 
> enabled to work are installed. I only not sure if the libcurl package 
> installed was build with zlib.
> 
> If the file location of that example is correct, I think that something 
> isn't working properly in my system. If it is the case, is it possible 
> to identify the source of the problem?
> 
> Thanks for the help.
> 
> Best regards,
> 
> 
> Mateus
> 
> 
> 
> 2009/3/30 David Brown <dbrown at ucar.edu <mailto:dbrown at ucar.edu>>
> 
>     Hi Mateus,
> 
>     I have seen a report that suggests a pretty simple work-around:
> 
>     If you have root access the most straightforward thing to do is to
>     create the following symbolic link:
>     ln -s /usr/lib/libcurl.so /usr/lib/libcurl.so.3 
> 
>     This is assuming that your existing libcurl is in /usr/lib/. 
> 
>     /usr/lib/libcurl.so is usually itself a symbolic link to the current
>     version of libcurl.
> 
>     If you don't have root access or you don't want to modify the system
>     library directories at all, then another option would be to
>     create the symbolic link in your own directory space, e.g.
> 
>     ln -s /usr/lib/libcurl.so <my-directory-path>/libcurl.so.3
> 
>     you would then need to add <my-directory-path>  to LD_LIBRARY_PATH:
> 
>     (using csh): setenv LD_LIBRARY_PATH <my-directory-path>:$LD_LIBRARY_PATH
> 
>     If this does not work, let us know. The other alternative is to
>     actually install a copy of libcurl.so.3, but it has other
>     dependencies that 
>     make it a somewhat painful process.
>      -dave
> 
> 
> 
>     On Mar 29, 2009, at 11:31 AM, Mateus Teixeira wrote:
> 
>>     Dear NCL users,
>>
>>     I'm trying to run NCL 5.1.0 OPeNDAP-enabled binaries on Fedora 10,
>>     but it complains about libcurl.so.3 file. I checked my system and
>>     found that there is a version of libcurl package that provides the
>>     file libcurl.so.4. I didn't find a package providing the requered
>>     file.
>>
>>     Is there a solution or a workaround to this problem?
>>
>>     Best regards,
>>
>>
>>     -- 
>>     Mateus da Silva Teixeira
>>
>>     Registered Linux User #466740
>>     _______________________________________________
>>     ncl-install mailing list
>>     List instructions, subscriber options, unsubscribe:
>>     http://mailman.ucar.edu/mailman/listinfo/ncl-install
> 
> 
> 
> 
> -- 
> Mateus da Silva Teixeira
> 
> Registered Linux User #466740
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install


More information about the ncl-install mailing list