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

Re: W: A binary links against a library it does not use symbols from



On Wed, Apr 19, 2006 at 05:45:38AM +1000, Matthew Palmer wrote:
> On Tue, Apr 18, 2006 at 03:18:23PM +0200, Daniel Leidert wrote:
> > W: winefish; A binary links against a library it does not use symbols from
> >  This package contains a binary that links against a library that is
> >  not in the Depends line. This may also be a bug in the library which
> >  does not have a shlibs file.

> > My problem: How can I determine the library the warning is about? I
> > build the package in my environment and in a pbuilder environment. Both
> > show the same 'Depends:' line. And there is no FTBFS. So how could I
> > determine the library? There are IIRC graphical tools to build a diagram
> > with dependencies for a package, right? This could be one way. Do you
> > know a better way?

> ldd will tell you what libraries a binary links against;

No, ldd will tell you what libraries are loaded into memory when running the
binary.

You want objdump -p <binary> | grep NEEDED instead.

But it was established a few weeks ago that linda's check used ldd by
mistake, and I haven't heard that it's been fixed yet.

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

Attachment: signature.asc
Description: Digital signature


Reply to: