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

[netCDF #AOO-337010]: libnetcdf/hdf5/curl linkage



> On 11/13/2009 09:31 AM, Unidata netCDF Support wrote:
> >> With this change the packaging warnings I get are:
> >>
> >> netcdf.i686: W: unused-direct-shlib-dependency
> >> /usr/lib/libnetcdf_c++.so.5.0.0 /usr/lib/libhdf5_hl.so.6
> >> netcdf.i686: W: unused-direct-shlib-dependency
> >> /usr/lib/libnetcdf_c++.so.5.0.0 /usr/lib/libhdf5.so.6
> >> /usr/lib/libnetcdff.so.5.0.0 /usr/lib/libhdf5_hl.so.6
> >> netcdf.i686: W: unused-direct-shlib-dependency
> >> /usr/lib/libnetcdff.so.5.0.0 /usr/lib/libhdf5.so.6
> >>
> >> explanation:
> >> The binary contains unused direct shared library dependencies.  This may
> >> indicate gratuitously bloated linkage; check that the binary has been
> >> linked with the intended shared libraries only.
> >
> > But wait, does this not say that the C++ library should not be linked to 
> > HDF5?
> 
> Correct.  It's the C library that calls HDF5,  the C++ and Fortran
> libraries just make calls to the netcdf C functions.

OK, I think I finally get it. I have put out a new snapshot which hopefully 
will eliminate most of the warnings. 

> 
> >
> > I just put out a new snapshot release. Why don't you give it a try and see 
> > if we are converging on a solution:
> > ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz
> >
> 
> Doc install looks good too.
> 
> One little nit, there seems to be an extra non-ascii character in
> netcdf-f90.info on line 4980:
> 
> $ diff netcdf-4.1-snapshot2009111309/man4/netcdf-f90.info*
> 4980c4980
> <       ...?
> ---
> >       ...ß
> 

Thanks, I have taken this out.

Ed


Ticket Details
===================
Ticket ID: AOO-337010
Department: Support netCDF
Priority: Normal
Status: Closed