George, > Thanks for the response. Seems I forgot to attach the tar file with the logs > (now attached). > This is a Linux x86_64 build which is why I am stumped in the search for a > DLL by gcc! The configure script looks for an HDF5 library in several places, if it can't find it in any of the standard locations for shared libraries, which include an hdf5dll file. From the config.log file you sent, it appears that you haven't used the LDFLAGS and CPPFLAGS environment variables to specify where the HDF5 library is installed. There's examples of how to do this with a POSIX-compliant shell such as bash in the instructions for building from source: http://www.unidata.ucar.edu/netcdf/docs/getting_and_building_netcdf.html#build_default If you're using a different shell such as csh or tcsh, you'll need to use setenv instead to set LDPATH and CPPFLAGS environment variables. Note that sometimes you also need to set LD_LIBRARY_PATH before running configure, if the installed library is not found from the LDFLAGS variable. If this doesn't fix the problem, please let us know. --Russ > Best, > > George > > > -----Original Message----- > From: Unidata netCDF Support [mailto:address@hidden > Sent: Sunday, May 24, 2015 8:19 PM > To: address@hidden > Cc: address@hidden > Subject: [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 > > > 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
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.