|
From: Michael R. <raw...@ya...> - 2012-09-21 14:31:07
|
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 |