Hi David,<br><br>Thanks for your suggestion, now NCL doesn't complains about any library, but I would like to know if the example given in <br><br><a href="http://www.ncl.ucar.edu/Applications/opendap.shtml">http://www.ncl.ucar.edu/Applications/opendap.shtml</a><br>
<br>really works? Is the internet address correct?<br><br>NCL gives the following answer when I try to access the file shown in that example:<br><br>ncl 0> url = "<a href="http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/">http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/</a>"<br>
ncl 1> filename = "ncep.reanalysis.dailyavgs/pressure/<a href="http://air.1948.nc">air.1948.nc</a>"<br>ncl 2> f = addfile(url + filename,"r")<br>fatal:<br>fatal:Could not open (<a href="http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/ncep.reanalysis.dailyavgs/pressure/air.1948.nc">http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/ncep.reanalysis.dailyavgs/pressure/air.1948.nc</a>)<br>
<br>In order to use NCL-opendap enabled, I have installed the following packages in my fedora 10 installation:<br><br>openssl.i686 0.9.8g-12.fc10<br>openssl-devel.i386 0.9.8g-12.fc10<br>
<br>libcurl.i386 7.19.4-3.fc10<br>libcurl-devel.i386 7.19.4-3.fc10<br><br>libxml2.i386 2.7.3-1.fc10<br>libxml2-devel.i386 2.7.3-1.fc10<br>
<br>libdap.i386 3.8.2-1.fc10<br>libdap-devel.i386 3.8.2-1.fc10<br><br>libnc-dap.i386 3.7.3-1.fc10<br>libnc-dap-devel.i386 3.7.3-1.fc10<br>
<br>zlib.i386 1.2.3-18.fc9<br>zlib-devel.i386 1.2.3-18.fc9<br><br><br>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.<br>
<br>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?<br><br>Thanks for the help.<br>
<br>Best regards,<br><br><br>Mateus<br><br><br><br><div class="gmail_quote">2009/3/30 David Brown <span dir="ltr"><<a href="mailto:dbrown@ucar.edu">dbrown@ucar.edu</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">
Hi Mateus,<div><br></div><div>I have seen a report that suggests a pretty simple work-around:</div><div><br></div><div>If you have root access the most straightforward thing to do is to create the following symbolic link:</div>
<div><div style="margin: 0px;"><font style="font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Arial" size="3">ln -s /usr/lib/libcurl.so /usr/lib/libcurl.so.3 </font></div>
<div style="margin: 0px;"><font face="Arial"><br></font></div><div style="margin: 0px;"><font face="Arial">This is assuming that your existing libcurl is in /usr/lib/. </font></div><div style="margin: 0px;"><font face="Arial"><br>
</font></div><div style="margin: 0px;"><font face="Arial">/usr/lib/libcurl.so is usually itself a symbolic link to the current version of libcurl.</font></div><div style="margin: 0px;"><font face="Arial"><br></font></div>
<div style="margin: 0px;"><font face="Arial">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</font></div><div style="margin: 0px;"><font face="Arial">create the symbolic link in your own directory space, e.g.</font></div>
<div style="margin: 0px;"><font face="Arial"><br></font></div><div style="margin: 0px;"><font face="Arial">ln -s /usr/lib/libcurl.so <my-directory-path>/libcurl.so.3</font></div><div style="margin: 0px;"><font face="Arial"><br>
</font></div><div style="margin: 0px;">you would then need to add <my-directory-path> to LD_LIBRARY_PATH:</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">(using csh): setenv LD_LIBRARY_PATH <my-directory-path>:$LD_LIBRARY_PATH</div>
<div style="margin: 0px;"><br></div><div style="margin: 0px;">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 </div><div style="margin: 0px;">
make it a somewhat painful process.</div><div style="margin: 0px;"> -dave</div><div style="margin: 0px;"><br></div></div><div><br></div><div><br><div><div><div></div><div class="h5"><div>On Mar 29, 2009, at 11:31 AM, Mateus Teixeira wrote:</div>
<br></div></div><blockquote type="cite"><div><div></div><div class="h5">Dear NCL users,<br><br>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.<br>
<br>Is there a solution or a workaround to this problem?<br><br>Best regards,<br><br clear="all"><br>-- <br>Mateus da Silva Teixeira<br><br>Registered Linux User #466740<br></div></div><div style="margin: 0px;">_______________________________________________</div>
<div style="margin: 0px;">ncl-install mailing list</div><div style="margin: 0px;">List instructions, subscriber options, unsubscribe:</div><div style="margin: 0px;"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a></div>
</blockquote></div><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Mateus da Silva Teixeira<br><br>Registered Linux User #466740<br>