Padala,
Not sure about this, but I think you need to specify the upper level
install directory for HDF5, not including the "lib" subdirectory.
"lib" should be added automatically by the configure process. This
would be consistent with your reported symptom. HTH:
--with-hdf5=/usr/local/hdf5
--Dave
On Fri, Oct 4, 2013 at 4:02 PM, padala chittibabu
<padalachittibabu1@xxxxxxxxx> wrote:
> Hi,
>
> I am trying to build netcdf4.3 with hdf5 on Redhat Linux enterprise 6.4 , 64
> bit machine. I installed GCC 4.8.1 and open mpi 1.6.5. I also successfully
> build hdf5 in prallel mode and zlib. I am getting this error during
> configuration netcdf 4.3. Please see attached config.log. I dont get this
> error if I use --disable-netcdf-4 configuration option. Please help. Thanks
> in advance.
>
> ./configure --enable-netcdf-4 --with-hdf5=/usr/local/hdf5/lib
>
> checking for library containing H5Fflush... no
> configure: error: Can't find or link to the hdf5 library. Use
> --disable-netcdf-4, or see config.log for errors.
>
> Padala
>
> --
> Padala Chittibabu Ph.D
> Physical Scientist
> Fisheries and Oceans Canada
> Winnipeg