Jennifer Oxelson <address@hidden> writes: > ---------- Forwarded message ---------- > Date: Mon, 16 May 2005 11:17:09 -0400 (EDT) > From: Chanh Q. Kieu <address@hidden> > To: address@hidden > Subject: A question of compiling netcdf library > > > Hi, > > I am a beginner of NETCDF format. Currently, I am trying to use NETCDF > format to archive my data, but somehow I could not compile the fortran > code. No matter how much I tried, I always get the error: > ld: > Can't locate file for: > -l/data/storm8/kieucq/netcdf/netcdf-3.5.1/lib/libnetcdf > > I checked the lib dir and do see file libnetcdf.a there. I am very > grateful if you help me out. > > Thank you and have a nice day, > Chanh Kieu > > Howdy! First get the latest version of netcdf (3.6.0) from the netCDF homepage: http://my.unidata.ucar.edu/content/software/netcdf/index.html Then follow the instructions here: http://my.unidata.ucar.edu/content/software/netcdf/docs/netcdf-install/Quick-Instructions-for-Installing-NetCDF-on-Unix.html#Quick-Instructions-for-Installing-NetCDF-on-Unix If that doesn't work, follow the instructions here: http://my.unidata.ucar.edu/content/software/netcdf/docs/netcdf-install/If-Something-Goes-Wrong.html#If-Something-Goes-Wrong Good luck! Ed -- Ed Hartnett -- address@hidden