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

Re: dpkg-scanlibs



On Mon, Feb 26, 2001 at 04:32:36AM +0100, Wichert Akkerman wrote:
> * Will complain if a package contains a library that is used but does
>   not have a shlibs file for it. This already found a bug:
> 
>   [tornado;~/sources/work/dpkg2/scripts]-70> ./dpkg-scanlibs.py /usr/bin/top
>   Package procps contains libproc.so.2.0.7 but has no shlibs entry for it
> 

That's not necessarily a bug.  If a package has a shared library, but
does not want other packages to link to it (for example, if the library
does not have a stable interface), then it needs no shlibs entry and
probably shouldn't have one.  It shouldn't install a -dev package
or the .so link, either.

Note that Lintian already has a check for this.

Richard Braakman



Reply to: