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

[netCDF #LHO-275109]: Can't find or link to the z library

Hi Tao,

> Package Version: netcdf-
> Operating System: Ubuntu
> Hardware:
> Description of problem: When I run "./configure --prefix=/usr/local",
> it turns out that "configure: error: Can't find or link to the z library. 
> Turn off netCDF-4 and      opendap with --disable-netcdf-4 --disable-dap, or 
> see config.log for errors."
> I don't want to use the options of --disable-netcdf-4 --disable-dap,
> how can solve this configure problem to install netcdf on Ubuntu system.

Use the CPPFLAGS and LDFLAGS environment variables to specify where zlib is 
or if it isn't installed yet, download and install it. Details of how to use 
LDFLAGS to do this are here, with examples:


Note especially the use of the ZDIR shell variable to indicate where zlib is 


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

Ticket Details
Ticket ID: LHO-275109
Department: Support netCDF
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.