Dear,

Specify the location for libraries as follows:

./configure --prefix=/path/to/netcdf/directory  --with-zlib=/path/to/location/of/zlib

because of --with-hdf5=/path/to/location/of/hdf5 option does not work for necdf-4.1.3, you need to export HDF5 location paths as follows:

    export CPPFLAGS=-I/location/to/hdf5/include/
    export LDFLAGS=-L/location/to/hdf5/lib
    export LD_LIBRARY_PATH=/location/to/hdf5/lib

 
I hope these will help!

Enjoy 
Tamirat Bekele Jimma
 
 


From: Krishna Kumar <krishbhu2@gmail.com>
To: regcnet@lists.ictp.it
Sent: Thursday, September 26, 2013 12:57 AM
Subject: [RegCNET] (no subject)

Dear All,
              I am enable to install netcdf-4.1.3. Actually i use this command

./configure --prefix=/usr/local/netcdf --disable-dap --enable-netcdf4 --with-hdf5=/usr/local/hdf5/
and after running it show
 Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors.
[root@icm netcdf-4.1.3]# 

thanking you & i am waiting for your +ve responce

--
Krishna Kumar
---------------------------------------------------------------------------------
PhD Student | Department of Geophysics
Banaras Hindu University, Varanasi-221005
Tel: +
Mobile: +919696040784
Email: krishbhu2@gmail.com
---------------------------------------------------------------------------------

_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo.cgi/regcnet