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

[netCDF #PZS-542462]: libnetcdf_c++ wrong ELF class

Hi Srinivasa,

> Package Version: 4.0.1
> Operating System: Ubuntu 13.04
> Hardware:
> Description of problem: I have installed reorder software package to grid 
> radar reflectivity factor from polar coordinates to cartesian coordinate. The 
> software package uses netcdf library. However, since reorder is a legacy 
> software, it uses only 32 bit netcdf library files.
> When I run reorder from terminal, I get an error message, a screenshot of 
> which I have attached with this form. I could not find 32 bit libnetcdf_c++ 
> library from unidata website. Is there an alternative solution to this issue?

We don't distribute pre-compiled netCDF C++ libraries, but you could build a
32-bit version by using the "-m32" flag to your C++ compiler, using the 
environment variable CPPFLAGS=-m32.

Also, I recommend upgrading the package version for netCDF.  The old
4.0.1 version from March, 2009. included C, Fortran, and C++
libraries, which made it difficult to build and install.  There have
been many improvements in later releases, including separation of the
multi-language package into 3 language-specific packages for C,
Fortran, and C++.  If you just want to use the C++ API, you still need
to build and install the C library, then just download, build and
install the C++ library, telling it where the C library is installed.

The latest released version of the netCDF C library is 4.3.0, available 


and a later release candidate for version 4.3.1-rc6 is available from:


The latest C++ release is available from:


with numerous imp[rovementss to that available from the current snapshot:



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

Ticket Details
Ticket ID: PZS-542462
Department: Support netCDF
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.