This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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