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

[netCDF #GLZ-655716]: File nc4hdf.o and libnetcdf.a



> So my company is trying to work on a rpogram released by the Navy that
> relies on hdf5 and netcdf. We ahve built both of these prgrams, and are
> now trying to install the Navy prgram where we are getting messages saying
> "Undefined symbols from libnetcdf.a in file nc4hdf.o " Do you ahve any
> idea why this might be occuring?
>
>

Sounds like you need to install netCDF-4, the latest netCDF release, and make
sure you are linking to it.

If you look where you have installed netCDF there is a VERSION file, which
tells what version you have. If it is anything other than "4.0" you need to
upgrade. Get netCDF-4.0:
ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.0.tar.gz

and follow the instructions here:
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Quick-Instructions.html#Quick-Instructions

Once you have built, checked, and installed netcdf-4, try building your navy
code again, making sure that the -I and -L options point to the locations where
you installed netCDF-4.

Let me know if this doesn't work for you.

Ed


Ticket Details
===================
Ticket ID: GLZ-655716
Department: Support netCDF
Priority: Normal
Status: Closed