[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
directory
Just to be sure there is,
/usr/lib/python1.5/lib-dynload/netcdfmodule.so
/usr/lib/libnetcdf.a (plus the rest of the stuff in the netcdf3.4-4 rpm)
/usr/lib/libnetcdf_C++.a
/usr/lib/python1.5/lib-dynload/netcdfmodule.so
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
.so?
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-2.38.25.55.69
> Rue Charles Sadron | Fax: +33-2.38.63.15.17
> 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/
> France | Nederlands/Francais
> -------------------------------------------------------------------------------
>