Thanks for your suggest Even, but this still does not work. I've noticed that the "-with-hdf5"
and " --with-netcdf" options are mutually exclusive. I can get it to build with one or the other, but not both. It seems to work if I rebuild netcdf-4.0.1 w/o the "--enable-netcdf-4" and "--enable-shared", but I don't really understand why and am not sure if this will have negative imapacts on the use of the netcdf library outside of gdal. Any other ideas? Thanks again for your help. --john John, Re-try but remove the /lib suffix, so something like : --with-hdf5=/usr/local/contrib/hdf5-1.8.4 The configure script will look for include files in the include subdirectory and library files in the lib subdirectory On 03/17/2010 09:22 PM, John Cartwright wrote: 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: [...@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 _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
