Re: Bug#317082: Not just a dpkg bug
On Wed, Jan 18, 2006 at 08:00:55PM -0800, Russ Allbery wrote:
> Frank Lichtenheld <djpig@debian.org> writes:
>
> > This isn't quite true I think. The current dpkg-shlibdeps code works
> > like this:
>
> > 1) use "ldd <binary>" to find the paths to the linked libraries
> > 2) use "objdump -p <binary>" to actually check which of this libraries
> > are listed as NEEDED (Are there cases where ldd lists
> > libraries that are not NEEDED?)
>
> Yes. ldd will list all shared libraries pulled in by a binary, regardless
> of whether they're NEEDED by the binary itself or just NEEDED by one of
> the shared libraries it uses. For example:
And also LD_PRELOAD'd libraries, et cetera (which may include
fakeroot).
--
Daniel Jacobowitz
CodeSourcery
Reply to: