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.

Re: [netcdfgroup] HD5 library error

Dominikus,
I tried your suggestion, but still see the same error.

root@cluster:netcdf-4.4.1#
LD_LIBRARY_PATH=/export/apps/computer/hdf5-1.8.17-linux-centos6-x86_64-gcc447-shared/lib:$LD_LIBRARY_PATH
root@cluster:netcdf-4.4.1# echo $LD_LIBRARY_PATH
/export/apps/computer/hdf5-1.8.17-linux-centos6-x86_64-gcc447-shared/lib:/opt/gridengine/lib/linux-x64:/opt/openmpi/lib
root@cluster:netcdf-4.4.1# LIBS="-lhdf5 -lhdf5_hl -lsz -lz"
root@cluster:netcdf-4.4.1# ./configure
...
...
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.



Nick,
I tried what you said in another session, but got the same error!


root@cluster:netcdf-4.4.1#
LDFLAGS="-L/export/apps/computer/hdf5-1.8.17-linux-centos6-x86_64-gcc447-shared/lib
$LDFLAGS"
root@cluster:netcdf-4.4.1# ./configure
...
...
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.




In config.log, I see

configure:17820: gcc -o conftest    conftest.c -lhdf5dll  -ldl -lm -lcurl
>&5
/usr/bin/ld: cannot find -lhdf5dll
collect2: ld returned 1 exit status

That is correct because there is no such file

root@cluster:netcdf-4.4.1# find
../hdf5-1.8.17-linux-centos6-x86_64-gcc447-shared/lib/ -name *dll*
root@cluster:netcdf-4.4.1#




Any idea about that?

Regards,
Mahmood
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: