Bug#317082: Not just a dpkg bug
- To: Steve Langasek <vorlon@debian.org>, "Nikita V. Youshchenko" <yoush@debian.org>, 317082@bugs.debian.org, Daniel Jacobowitz <dan@debian.org>, Russ Allbery <rra@debian.org>, GNU Libc Maintainers <debian-glibc@lists.debian.org>
- Subject: Bug#317082: Not just a dpkg bug
- From: Frank Lichtenheld <djpig@debian.org>
- Date: Fri, 20 Jan 2006 13:12:57 +0100
- Message-id: <[🔎] 20060120121257.GB30561@djpig.de>
- Mail-followup-to: Frank Lichtenheld <djpig@debian.org>, Steve Langasek <vorlon@debian.org>, "Nikita V. Youshchenko" <yoush@debian.org>, 317082@bugs.debian.org, Daniel Jacobowitz <dan@debian.org>, Russ Allbery <rra@debian.org>, GNU Libc Maintainers <debian-glibc@lists.debian.org>
- Reply-to: Frank Lichtenheld <djpig@debian.org>, 317082@bugs.debian.org
- In-reply-to: <[🔎] 20060120113636.GM7280@tennyson.dodds.net>
- References: <1124294424.16261.69.camel@descent.netsplit.com> <[🔎] 87y81clvd4.fsf@windlord.stanford.edu> <[🔎] 20060120032232.GB25886@nevyn.them.org> <[🔎] 200601201157.29326@zigzag.lvk.cs.msu.su> <[🔎] 20060120113636.GM7280@tennyson.dodds.net>
On Fri, Jan 20, 2006 at 03:36:36AM -0800, Steve Langasek wrote:
> On Fri, Jan 20, 2006 at 11:57:28AM +0300, Nikita V. Youshchenko wrote:
> > > 2) we could try to use the ldconfig cache to make to work of ldd for
> > > ourself.
> > > Questions: - Is this really an advantage? Or has the cache the same
> > > problems ldd has?
>
> Hmm. In theory, ldconfig shouldn't require the ability to execute 64-bit
> binaries in order to build a cache of their paths. The only thing I don't
> know is how 64-bit vs. 32-bit libs are cached? It would after all have to
> be possible to distinguish between them in order to use the cache for this.
It is possible:
djpig@feynman:~$ /sbin/ldconfig -p | grep libbz2.so.1.0
libbz2.so.1.0 (libc6,x86-64) => /usr/lib64/libbz2.so.1.0
libbz2.so.1.0 (libc6) => /lib/libbz2.so.1.0
Might still be a mess to parse all those architecture specific names,
though...
Gruesse,
--
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
Reply to: