After the build, I determined that 'install' was also needed.

> python setup.py install

completed with no errors.  OK, finally built and installed. But now my 
matplotlib script gives this error:

Traceback (most recent call last):
  File "map_PrcpBias_Northeast.py", line 21, in <module>
    from netCDF4 import Dataset as NetCDFFile 
ImportError: /usr/local/lib/python2.7/dist-packages/netCDF4.so: undefined 
symbol: nc_inq_var_endian


So, checking shared library dependencies:

> ldd /usr/local/lib/python2.7/dist-packages/netCDF4.so

    linux-gate.so.1 =>  (0xb776a000)
    libnetcdf.so.7 => /usr/local/lib/libnetcdf.so.7 (0xb7604000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb75d3000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb742d000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7401000)
    /lib/ld-linux.so.2 (0xb776b000)

and

> ldd /usr/local/lib/libnetcdf.so.7

    linux-gate.so.1 =>  (0xb7765000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7663000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb74be000)
    /lib/ld-linux.so.2 (0xb7766000)

no libhdf5 there. Can this be fixed?

MR
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to