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

Re: lintian: questions about shared libraries



"Marcelo E. Magallon" <mmagallo@efis.ucr.ac.cr> writes:

> > 2. The question I have is the exact file format of the `shlibs' control
> > files. Most packages install shlibs files like this:
> >   libfoo 1        foo (>= 1.2.3-1)
> 
> from the wording on the packaging manual, I'd say that the first
> field is the SONAME sans the .so.version part, but the example
> given by Joey makes me think I'm wrong. The problem is, the
> SONAME and the FILENAME doesn't have to match. That's what
> ldconfig does. It scans the files for SONAMEs and builds a cache
> filename -> SONAME.

dpkg-shlibdeps calls ldd on the executable to get the sonames, strips
out directory information and tries to match the result.  fakeroot's
shlibs entry is thus meaningless because dpkg-shlibdeps can never
match it.


Guy


--
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: