[gdal-dev] help compiling hdf5 option on linux
John Cartwright
John.C.Cartwright at noaa.gov
Wed Mar 17 16:22:01 EDT 2010
Hello All,
I'm trying to get 1.7.1 compiled on a 64-bit RHEL 5 server using
hdf5-1.8.4-patch1. I have hdf5 and netcdf apparently compiled
successfully and have included the following in my configure statement
for gdal:
--with-hdf5=/usr/local/contrib/hdf5-1.8.4
However, configure complains that:
checking for SDreaddata in -lmfhdfalt... no
checking for SDreaddata in -lmfhdf... no
checking for SDreaddata in -lhdf4... no
checking for SDreaddata in -lmfhdf... no
checking for SDreaddata in -lmfhdf... no
checking for H5Fopen in -lhdf5... no
configure: error: HDF5 support requested with arg
/usr/local/contrib/hdf5-1.8.4, but no hdf5 lib found
I don't understand this since the library seems to be present:
[jcc at lion gdal-1.7.1]$ ls -l /usr/local/contrib/hdf5-1.8.4/lib
total 6488
-rw-r--r-- 1 jcc eds 6413146 Mar 17 11:44 libhdf5.a
-rw-r--r-- 1 jcc eds 196564 Mar 17 11:44 libhdf5_hl.a
-rwxr-xr-x 1 jcc eds 939 Mar 17 11:44 libhdf5_hl.la
-rwxr-xr-x 1 jcc eds 930 Mar 17 11:44 libhdf5.la
-rw-r--r-- 1 jcc eds 2891 Mar 17 11:44 libhdf5.settings
Can someone please help me with what the problem is here?
Thanks!
--john
More information about the gdal-dev
mailing list