[MMTK] Simple question

Maneesh Yadav 97yadavm@scar.utoronto.ca
Fri, 25 Jun 1999 14:36:22 -0400 (EDT)

(I am pruposefully posting to the list in hopes that if there is a common
error, we can all know....that or I will look very very stupid and you
can all have a good laugh at my unix skills).

Ok it says

 libnetcdf.so: cannot open shared object file:No such file or

Just to be sure there is,

/usr/lib/libnetcdf.a (plus the rest of the stuff in the netcdf3.4-4 rpm)


all the rpm's were verified....BTW I didn't have to compile anything, but
everything seems to be in the right places....umm maybe it's something to
do with the fact that I have .a files of things that apparaently should be

On Fri, 25 Jun 1999, Konrad Hinsen wrote:

> > Hmmm, the netcdf.so is sitting in /usr/lib/python-1.5/lib-dynload, which
> > is in the python import path...I am using the netcdf-3.4-4..installed via
> > rpm and verified to be in all the normal places (/usr/lib and
> > /usr/include)...the checkNetCDF() call is the one that fails, is there any
> > way I am supposed to tell python-netcdf where netcdf is? 
> No. Once you have linked the Python netCDF interface with the static
> library (libnetcdf.a), it doesn't need the netCDF installation any
> more. Your problem must be somewhere else, although I don't see what
> could still be wrong!
> Please try the following: Run "python -v" and then type "import netcdf".
> This prints a report of where Python load its modules from, and then
> probably stops with an error message which I'd like to see!
> Konrad.
> -- 
> -------------------------------------------------------------------------------
> Konrad Hinsen                            | E-Mail: hinsen@cnrs-orleans.fr
> Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-
> Rue Charles Sadron                       | Fax:  +33-
> 45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
> France                                   | Nederlands/Francais
> -------------------------------------------------------------------------------