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

Re: 19990419: help with installing NETCDF v2.4.3



>To: address@hidden
>From: Gavin Esler <address@hidden>
>Subject: help with installing NETCDF v2.4.3
>Organization: DAMTP, University of Cambridge, UK
>Keywords: 199904191800.MAA06750

Gavin,

> Unfortunately the software package I am using requires the use of v2.4.3.
> Is there an easy way of telling the configure script to link in -lnsl into 
> all the Makefiles, or is the easiest way to edit them directly?

The output you sent indicated that the configure script had already
put -lnsl into all the Makefiles it created, as it should have on a
SunOS 4 platform.  For example, check the output of make in creating
the ncdump and ncgen executables, or any of the test programs.  

I thought the problem in your case was in attempting to link a
different application that used netCDF to the netCDF library.  For
that, you will have to add -lnsl to the compile/link flags in your own
Makefile for Sun platforms.  The version 2.4.3 netCDF library still
requires the vendor-supplied XDR library, and the -lnsl flag tells the
compiler where to find it ...

--Russ