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

[netCDF #LKB-522731]: netcdf4 isntall



Edin,

The errors you are seeing from "make check" when building netCDF-4 are caused
by
trying to link the netCDF C++ test program to a 64-bit library after compiling
the C++ test program using g++ but without a "-m64" flag.

There are two ways to fix this:

  1.  Add "-m64" to the CXXFLAGS environment variable, as you already have for
      CFLAGS.  Then run "make distclean" and rerun the configure script before
      running "make check".

  2.  Build netcdf-4 without the C++ interface, which is not used in any of the
      other utilities and doesn't support most netCDF-4 features yet anyway.
      You can do this by setting the CXX environment variable to '' before
      running "make distclean", configure, and "make check".

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: LKB-522731
Department: Support netCDF
Priority: Normal
Status: Closed