Hi all (esp. Stephen I guess),

I have a puzzling problem with CDAT-lite.  I've installed Python 2.7.1 and the 
latest NetCDF4 and HDF5 libs on my CentOS 5.2 box.  The libraries are in 
/usr/local/netcdf4 and /usr/local/hdf5.

I've installed the prerequisites for CDAT-lite and "successfully" installed 
cdat-lite itself with

./easy_install cdat-lite

This installs a version 6.0alpha or something with no error messages.  I set 
the environment variables beforehand to tell the installer where to find the 
NetCDF and HDF libraries.

When I run Python and enter "import cdms2" I get a message saying that it can't 
find the shared library libnetcdf.so.0.  It works fine if I copy or symlink 
this library into /usr/lib.

However, I *can* run netcdf4-python (http://code.google.com/p/netcdf4-python/) 
successfully (without the symlink), implying that the OS can indeed find the 
shared library.  Why should cdat-lite not be finding it?

BTW, the system knows about the shared libraries through ldconfig.  I'm not 
using LD_LIBRARY_PATH.

Thanks,
Jon

P.S. What's even weirder is that I think it did actually work once, then 
stopped working.


_______________________________________________
NDG-technical mailing list
[email protected]
http://lists.ncas.ac.uk/mailman/listinfo/ndg-technical

Reply via email to