[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
960815: xdr references from NetCDF
- Subject: 960815: xdr references from NetCDF
- Date: Fri, 16 Aug 96 08:18:43 -0600
Fan Guo,
> To: address@hidden
> From: address@hidden (Fan Guo)
> Subject: xdr library
> Organization: University of Colorado at Boulder
> Keywords: 199608152134.AA29468
In the above message you wrote:
> My name is Fan and I am working for a research group at PAOS/CU. I am trying
> to install a software package on a Solaris 2.5 machine. It sounds to me that
> the xdr library is part of the netcdf library, but can not be found in our
> machine.
An implementation of a subset of the XDR library will be placed into the
netCDF library by the installation procedure ONLY IF NECESSARY. On a
Solaris 2.5 system it is not necessary because an XDR implementation can
be found in the network support library `lib/libnsl.*'.
When linking netCDF-using programs that are not a part of the netCDF
package itself, it is necessary to reference the XDR library that
resides on the system. For example, something like the following would
be appropriate for linking the program `foo',
$ cc -o foo foo.c -L/usr/local/lib -lnetcdf -lnsl
Add the `-lnsl' reference to your link lines.
Please let me know if this helps.
--------
Steve Emmerson <address@hidden>