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

Re: dpkg-shlibdeps error



On Sun, Mar 13, 2011 at 10:04:43AM +0100, Raphael Hertzog wrote:
> On Sun, 13 Mar 2011, Paul Wise wrote:
> > On Sun, Mar 13, 2011 at 5:38 AM,  <fred0a@free.fr> wrote:

> > > I got this message while building a package :
> > > dpkg-shlibdeps: error: no dependency information found for /usr/lib/libgio-2.0.so.0 (used by foo).

> > Sounds like the code is using gio but not linking against it. Please
> > fix the upstream build system to explicitly link foo against gio.

> Hum no. This message means that dpkg-shlipdes has found no associated
> shlibs/symbols files that provides the dependency for that library.

> There is a /var/lib/dpkg/info/libglib2.0-0.symbols in Debian. And dpkg-dev
> 1.16.0 is Ubuntu-only at this point... might be a multi-arch related bug.

> Fred, can you show me the output of those commands?

> $ dpkg-query --control-path libglib2.0-0 symbols
> $ ls -al /var/lib/dpkg/info/libglib2.0-0*
> $ dpkg -s libglib2.0-0 dpkg 

This is probably a freshly-bootstrapped Ubuntu natty chroot that has
/var/lib/dpkg/info/$arch as a directory, rather than a symlink.  I've had a
couple of other people report this same issue, and walked them through
manually switching /var/lib/dpkg/info/$arch to a symlink for
backwards-compatibility.  But yeah, it seems dpkg-shlibdeps doesn't work
with this database layout; I don't know why.

This issue will go away on the next upload of dpkg to Ubuntu (which, as you
know, is currently waiting for confirmation of the final multiarch db
layout).

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: