[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #VTI-484586]: configure for netcdf 4.3.3.1 can't find hdf5dll and exits



Hi George,

> curl-7.26.0
> 
> hdf5-1.8.13
> 
> hdf5-1.8.14.tar
> 
> netcdf-4.3.3.1
> 
> netcdf-fortran-4.4.2
> 
> README.netcdf
> 
> zlib-1.2.8
> 
> 
> 
> The above versions of curl, zlib, and hdf5 have been built.
> 
> 
> 
> The attempt to build netcdf 4.3.3.1 fails with configure looking for hdf5dll
> 
> This library does not exist in the builds of the above libraries.

Are you following these instructions for building with Visual Studio?

  http://www.unidata.ucar.edu/netcdf/docs/winbin.html#msvc-using

They require using cmake rather than configure. You can also just download
the netCDF-4.3.3.1 C library and utilities prebuilt with HDF5, zlib, and curl:

  http://www.unidata.ucar.edu/netcdf/docs/winbin.html#msvc-prebuilt

If you're using using MSYS/MinGW or Cygwin, you can build netCDF-C using 
configure with the the Linux/Unix build instructions, instead of cmake:

  http://www.unidata.ucar.edu/netcdf/docs/getting_and_building_netcdf.html#sub

If you have problems with this, please send us the config.log file generated
by running the configure script.

--Russ

> 
> 
> 
> The configure and make for netcdf does complete when using
> --disable-netcdf-4
> 
> 
> 
> (lines 3481, 3736 of config.log )
> 
> 
> 
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
> cannot find -lhdf5dll
> 
> collect2: error: ld returned 1 exit status
> 
> configure: error: Can't find or link to the hdf5 library. Use
> --disable-netcdf-4, or see config.log for errors.
> 
> 
> 
> I would appreciate a fix.
> 
> 
> 
> George

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: VTI-484586
Department: Support netCDF
Priority: Normal
Status: Closed