libnetcdf_c++4.a is missing

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

E.g.

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:
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@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"
./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@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
hiebert@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.deb...@googlemail.com>
> To:   728...@bugs.debian.org
> CC:   Paul Nienaber <p...@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: hieb...@uvic.ca

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to