[gdal-dev] help compiling hdf5 option on linux
Vincent Schut
schut at sarvision.nl
Thu Mar 18 03:50:54 EDT 2010
On 03/17/2010 09:22 PM, John Cartwright wrote:
> 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?
>
Well, have you tried with
"--with-hdf5=/usr/local/contrib/hdf5-1.8.4/lib"? As that seems to be the
dir where the configure script searches for the library files.
Vincent.
> Thanks!
>
> --john
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
More information about the gdal-dev
mailing list