Bug#728498: Fwd: libnetcdfc++4 does not include C++ NetCDF library!
James Hiebert
hiebert at uvic.ca
Tue Nov 25 21:34:14 UTC 2014
libnetcdf_c++4.a is missing
It will be built if you set --enable-cxx-4 during configure.
E.g.
hiebert at 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:
git://git.debian.org/git/pkg-grass/netcdf.git
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 at aether:~/src$ cd netcdf-4.1.3
hiebert at aether:~/src/netcdf-4.1.3$ ./configure --enable-cxx --enable-cxx-4
...
hiebert at aether:~/src/netcdf-4.1.3$ make -j4
...
hiebert at aether:~/src/netcdf-4.1.3$ find ./ -name "*.a"
./libdap2/.libs/libdap2.a
./libdispatch/.libs/libdispatch.a
./libdispatch/.libs/libnetcdf2.a
./liblib/.libs/libnetcdf.a
./libsrc4/.libs/libnetcdf4.a
./oc/.libs/liboc.a
./libsrc/.libs/libnetcdf3.a
./cxx/.libs/libnetcdf_c++.a
./cxx4/.libs/libnetcdf_c++4.a
libnetcdf_c++4.a should be included in the package, but it is not:
hiebert at aether:~/src/netcdf-4.1.3$ dpkg -L libnetcdfc++4 | grep c++4.a
hiebert at aether:~/src/netcdf-4.1.3$ dpkg -L libnetcdf-dev | grep c++4.a
hiebert at aether:~/src/netcdf-4.1.3$
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 <jtaylor.debian at googlemail.com>
> To: 728498 at bugs.debian.org
> CC: Paul Nienaber <phox at uvic.ca>
>
>
>
> according to:
> https://packages.debian.org/wheezy/amd64/libnetcdfc++4/filelist
> and
> https://packages.debian.org/wheezy/amd64/libnetcdf-dev/filelist
> the library /usr/lib/libnetcdf_c++.so.4.1.0 is there.
>
> Can you elaborate on what is missing?
>
>
>
>
--
James Hiebert
Lead, Computational Support
Pacific Climate Impacts Consortium
http://www.pacificclimate.org
E-mail: hiebert at uvic.ca
More information about the Pkg-grass-devel
mailing list