[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #OTY-454194]: netCDF Installation support
- Subject: [netCDF #OTY-454194]: netCDF Installation support
- Date: Tue, 26 Jan 2010 19:17:36 -0700
Hi Ram,
> I figured out and installed proper compiler (lf95 64-bit) and installed HDF5
> with zlib and without szlib successfully.
>
> However, I am not able to configure the netCDF-4.0.1 and please see the
> configure output below. I verified the hdf5 libraries and are available in
> /usr/local/lib64 and /usr/local/lib.
>
>
>
> [root@ofsprod-bk netcdf-4.0.1]# ./configure --prefix=/usr/local
> --enable-netcdf-4
> --with-hdf5=/usr/local/lib64,/usr/local/lib,/usr/lib64,/usr/lib
> --with-zlib=/usr/lib64,/usr/local/lib64,/usr/lib,/usr/local/lib
> --without-szlib
The --with-hdf5 and --with-zlib options do not permit a list of library
directories. In each case a single library directory must be specified.
Specifying a list of multiple library directories is the cause of the error
configure: error: Can't find the hdf5 header and/or library, or can't link a
program to it. HDF5 must be built with zlib; the location of zlib must be
specified for netCDF-4 with the --with-zlib option. If HDF5 was also
built with szlib, then the location of szlib must also be specified with
the --with-slib option.
Since you're using the 64-bit compiler, just give a single 64-bit library in
each case and see if the configure script finishes in that case.
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: OTY-454194
Department: Support netCDF
Priority: Normal
Status: Closed