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

[netCDF #IWX-828742]: 4.1.1 libnetcdf.so link issues



> On 07/12/2010 10:53 AM, Unidata netCDF Support wrote:
> > Can you tell me what symptom you saw?
> >
> > Thanks,
> >
> > Ed
> >
> > Ticket Details
> > ===================
> > Ticket ID: IWX-828742
> > Department: Support netCDF
> > Priority: Critical
> > Status: Closed
> 
> This information is generated by the rpmlint command on the netcdf rpm I build
> for Fedora:
> 
> netcdf.i686: W: unused-direct-shlib-dependency /usr/lib/libnetcdf_c++.so.5.0.0
> /usr/lib/libcurl.so.4
> 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
> netcdf.i686: W: unused-direct-shlib-dependency /usr/lib/libnetcdf_c++.so.5.0.0
> /lib/libm.so.6
> netcdf.i686: W: unused-direct-shlib-dependency /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
> netcdf.i686: W: unused-direct-shlib-dependency /usr/lib/libnetcdff.so.5.0.0
> /usr/lib/libcurl.so.4
> netcdf.i686: W: unused-direct-shlib-dependency /usr/lib/libnetcdff.so.5.0.0
> /lib/libm.so.6
> 
> unused-direct-shlib-dependency:
> 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.
> 
> This indicates that libnetcdf_c++.so.5.0.0 and libnetcdff.so.5.0.0 do not make
> any direct calls against libcurl, libhdf5_hl, libhdf5, or libm and so do not
> need to be linked against them.  This is not a big deal in this case, but I
> figured I would point it out.
> 
> --
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA/CoRA Division                    FAX: 303-415-9702
> 3380 Mitchell Lane                  address@hidden
> Boulder, CO 80301              http://www.cora.nwra.com
> 
> 

Howdy Orion!

You are correct! We don't need to link to them.

I have changed this in my branch, and when it goes through a few nights of 
successful testing, I will put it in the trunk.

Thanks for pointing this out.

Ed

Ticket Details
===================
Ticket ID: IWX-828742
Department: Support netCDF
Priority: Critical
Status: Closed