libnetcdf_c++4.a is missing

It will be built if you set --enable-cxx-4 during configure.


hiebert@aether:~/src$ apt-get source libnetcdfc++4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Picking 'netcdf' as source package instead of 'libnetcdfc++4'
NOTICE: 'netcdf' packaging is maintained in the 'Git' version control system at:
Skipping the already downloaded file 'netcdf_4.1.3-7ubuntu2.dsc'
Skipping the already downloaded file 'netcdf_4.1.3.orig.tar.gz'
Skipping the already downloaded file 'netcdf_4.1.3-7ubuntu2.debian.tar.gz'
Need to get 0 B of source archives.
dpkg-source: info: extracting netcdf in netcdf-4.1.3
dpkg-source: info: unpacking netcdf_4.1.3.orig.tar.gz
dpkg-source: info: unpacking netcdf_4.1.3-7ubuntu2.debian.tar.gz
hiebert@aether:~/src$ cd netcdf-4.1.3
hiebert@aether:~/src/netcdf-4.1.3$ ./configure --enable-cxx --enable-cxx-4


hiebert@aether:~/src/netcdf-4.1.3$ make -j4


hiebert@aether:~/src/netcdf-4.1.3$ find ./ -name "*.a"

libnetcdf_c++4.a should be included in the package, but it is not:

hiebert@aether:~/src/netcdf-4.1.3$ dpkg -L libnetcdfc++4 | grep c++4.a
hiebert@aether:~/src/netcdf-4.1.3$ dpkg -L libnetcdf-dev | grep c++4.a

Does this help clarify the issue?

~James Hiebert

> -------- Original Message --------
> Subject:      libnetcdfc++4 does not include C++ NetCDF library!
> Date:         Wed, 30 Jul 2014 22:29:37 +0200
> From:         Julian Taylor <>
> To:
> CC:   Paul Nienaber <>
> according to:
> and
> the library /usr/lib/ is there.
> Can you elaborate on what is missing?

James Hiebert
Lead, Computational Support
Pacific Climate Impacts Consortium

Pkg-grass-devel mailing list

Reply via email to