[netcdfgroup] Error "Can't find or link to the hdf5 library" with --with-hdf5=$PRO_PATH/Hdf5-1.8.7

Hi All

I try to install netcdf-4.1.3 with hdf5-1.8.7. I invokes configure as
follow:
./configure --with-hdf5=$PRO_PATH/Hdf5-1.8.7
--with-zlib=$PRO_PATH/Zlib-1.2.5 --with-szlib=$PRO_PATH/Szip-2.1
--prefix=$PRO_PATH/Netcdf-4.1.3 --enable-netcdf-4

$PRO_PATH is the path I install all software.

But the output show me an error:
...............................................
checking for library containing deflate... none required
checking for floor in -lm... yes
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.

This is the first time I met this error. My system is CentOS6. Could anyone
give me some advises?
Thanks.

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