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

Re: demoting a dependency

On Tue, Mar 31, 2009 at 03:36:21PM +0200, Mike Hommey wrote:
> On Tue, Mar 31, 2009 at 03:21:02PM +0200, Marco d'Itri <md@Linux.IT> wrote:
> > Is there a more elegant way to do this?

> You just don't do it like that, because:
> $ ldd /usr/lib/news/bin/auth/passwd/auth_krb5 | grep com_err
>         libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7f2f000)

That's actually not an indicative test, btw.  You want:

$ objdump -p /usr/lib/news/bin/auth/passwd/auth_krb5 | grep com_err

because 'ldd' reports the lib deps recursively.

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

Reply to: