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.

[netcdfgroup] HD5 library error

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
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: