On 9/19/12 11:30 AM, Michael Rawlins wrote:
Ubuntu 12.04
hdf5-tools installed from package manager
netcdf-bin and python-netcdf installed from package manager
I downloaded netCDF4-1.0fix1.tar.gz
<http://code.google.com/p/netcdf4-python/downloads/detail?name=netCDF4-1.0fix1.tar.gz&can=2&q=>
from http://code.google.com/p/netcdf4-python/downloads/list
> python setup.py build
/usr/bin/ld: cannot find -lhdf5_hl
/usr/bin/ld: cannot find -lhdf5
collect2: ld returned 1 exit status
/usr/bin/ld: cannot find -lhdf5_hl
/usr/bin/ld: cannot find -lhdf5
collect2: ld returned 1 exit status
error: Command "gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-Bsymbolic-functions -Wl,-z,relro
build/temp.linux-i686-2.7/netCDF4.o -L/usr/local/lib -L/usr/local/lib
-Wl,-R/usr/local/lib -Wl,-R/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5
-lz -o build/lib.linux-i686-2.7/netCDF4.so" failed with exit status 1
Michael: You're missing the hdf5 library. You should be able to
install that (along with the netcdf version 4 library) using the Ubuntu
package manager. I don't know what the relevant package names are.
See the docs at netcdf4-python.googlecode.com for installation
instructions (including how to install the dependencies).
You can also file a help request there and I'll see it (since this is
not really a basemap issue).
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : jeffrey.s.whita...@noaa.gov
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users