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

[netCDF #ITF-941422]: configure error with netcdf-4.1.2



> Howdy, Experts.
> I grabbed the latest 4.1.2 tarball and tried to build with my standard
> configure options (these have worked for me for all build up to now):
> 
> ./configure --disable-f77 --enable-dap --enable-netcdf-4 --disable-
> shared \
> --prefix=/Users/jma/supplibs/src/netcdf \
> --with-hdf5=/Users/jma/supplibs/src/hdf5 \
> --with-zlib=/Users/jma/supplibs/src/zlib \
> --with-szlib=/Users/jma/supplibs/src/szip \
> --with-curl=/Users/jma/supplibs/src/curl
> 
> The only thing I added for this new release was the "--disable-shared"
> option, since I only want the static library. The configure script
> halted with this message:
> 
> ...checking whether we should try to build netCDF-4... yes
> checking for deflate in -lz... yes
> checking for H5Fflush in -lhdf5... no
> configure: error: Can't find or link to the hdf5 library. Configure
> with --with-hdf5, or use       --disable-netcdf-4, or see config.log
> for errors.
> 
> 

Howdy Jennifer!

Try setting LIBS=-lsz before running configure.

Thanks,

Ed

Ticket Details
===================
Ticket ID: ITF-941422
Department: Support netCDF
Priority: Normal
Status: Closed