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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #MFG-811670]: Fwd: configure: error: Can't find or link to the hdf5 high-level. Use --disable-netcdf-4, or see config.log for errors.



Hi,

> I am trying to install netcdf-4.2.1.1 with netcdf4 support but the above
> mentioned error appears. I have already built hdf5 and its libraries are
> present iin /usr/local/lib.
> I used the following command to configure.
> 
> CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
> --prefix=/usr/local

This sounds like a problem with your HDF5 installation.  The HDF5 "make 
install" should have installed library files with names such as 

  -rw-rw-r--  1 russ ustaff   563282 May 23  2012 libhdf5_hl.a
  -rwxrwxr-x  1 russ ustaff     1012 May 23  2012 libhdf5_hl.la*
  lrwxrwxrwx  1 russ ustaff       19 May 23  2012 libhdf5_hl.so -> 
libhdf5_hl.so.7.0.3*
  lrwxrwxrwx  1 russ ustaff       19 May 23  2012 libhdf5_hl.so.7 -> 
libhdf5_hl.so.7.0.3*
  -rwxrwxr-x  1 russ ustaff   346459 May 23  2012 libhdf5_hl.so.7.0.3*

in /usr/local/lib.  Do you have any libhdf5_hl* files in that directory?  Do 
you have a libhdf5.settings file in that directory with the line

             High Level library: yes

in it?  If not, you need to check you HDF5 installation.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: MFG-811670
Department: Support netCDF
Priority: Normal
Status: Closed