NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Probably because you need to explicitly set the hdf5 library, the sz and the z libraries. If you attach the config.log it is easier to figure out. 2016-07-21 15:17 GMT+02:00 Mahmood Naderan <mahmood.nt@xxxxxxxxx>: > Hi, > There are several pages about this error > > configure: error: Can't find or link to the hdf5 library. Use > --disable-netcdf-4, or see config.log for errors. > > > However, I am sure that hd5 library is OK. I downloaded the package and > gave the path to the configure script. > > root@cluster:~# cd /export/apps/computer/netcdf-4.4.1 > root@cluster:netcdf-4.4.1# ls > ../hdf5-1.8.17-linux-centos6-x86_64-gcc447-shared/ > bin COPYING include lib README RELEASE.txt share > root@cluster:netcdf-4.4.1# ls > ../hdf5-1.8.17-linux-centos6-x86_64-gcc447-shared/lib > libhdf5.a libhdf5_fortran.so.10.0.3 > libhdf5hl_fortran.so.10 libhdf5.so.10.2.0 > libhdf5_cpp.a libhdf5_hl.a > libhdf5hl_fortran.so.10.0.3 libsz.so > libhdf5_cpp.so libhdf5_hl_cpp.a > libhdf5_hl.so libsz.so.2 > libhdf5_cpp.so.12 libhdf5_hl_cpp.so > libhdf5_hl.so.10 libsz.so.2.0.0 > libhdf5_cpp.so.12.0.0 libhdf5_hl_cpp.so.11 > libhdf5_hl.so.10.1.0 libz.so > libhdf5_fortran.a libhdf5_hl_cpp.so.11.1.0 > libhdf5.settings libz.so.1 > libhdf5_fortran.so libhdf5hl_fortran.a > libhdf5.so libz.so.1.2.5 > libhdf5_fortran.so.10 libhdf5hl_fortran.so libhdf5.so.10 > > root@cluster:netcdf-4.4.1# echo $LD_LIBRARY_PATH > /export/apps/computer/hdf5-1.8.17-linux-centos6-x86_64-gcc447-shared/lib > root@cluster:netcdf-4.4.1# ./configure > --with-hd5=/export/apps/computer/hdf5-1.8.17-linux-centos6-x86_64-gcc447-shared > ... > ... > 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. > > > > > I really don't understand why it is still giving me the error. > Thanks for any suggestion. > > > Regards, > Mahmood > > > > _______________________________________________ > NOTE: All exchanges posted to Unidata maintained email lists are > recorded in the Unidata inquiry tracking system and made publicly > available through the web. Users who post to any of the lists we > maintain are reminded to remove any personal information that they > do not want to be made public. > > > netcdfgroup mailing list > netcdfgroup@xxxxxxxxxxxxxxxx > For list information or to unsubscribe, visit: > http://www.unidata.ucar.edu/mailing_lists/ > -- Kind regards Nick
netcdfgroup
archives: