From: "Petteri Räty" <betelgeuse@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] checdeps.rb for getting deps out of elf files
Date: Wed, 28 Dec 2005 00:12:06 +0200 [thread overview]
Message-ID: <43B1BC36.3040905@gentoo.org> (raw)
In-Reply-To: <20051223143513.GD14579@toucan.gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]
Mike Frysinger wrote:
> On Fri, Dec 23, 2005 at 01:09:08PM +0200, Petteri R??ty wrote:
>
>>Basically it does ldd on all
>>the elf files in a package and then checks to which packages those
>>libraries belong.
>
>
> ldd is garbage for this purpose
>
> use `readelf -d ELF | grep NEEDED` or just `scanelf -n ELF`
> -mike
Adjusted to using scanelf:
http://dev.gentoo.org/~betelgeuse/scripts/checkdeps.rb
This has the side affect that the library location code is not used
until I code or take the logic from glibc from example.
betelgeuse@pena ~/bin $ checkdeps.rb subversion
dev-libs/apr
dev-libs/apr-util
dev-libs/expat
dev-libs/openssl
dev-util/subversion
net-misc/neon
sys-libs/db || app-office/openoffice-bin
sys-libs/gdbm
sys-libs/glibc
sys-libs/zlib
Old ldd using version:
http://dev.gentoo.org/~betelgeuse/scripts/checkdepsldd.rb
Regards,
Petteri
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
next prev parent reply other threads:[~2005-12-27 22:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-23 11:09 [gentoo-dev] checdeps.rb for getting deps out of elf files Petteri Räty
2005-12-23 12:47 ` Thomas de Grenier de Latour
2005-12-23 14:35 ` Mike Frysinger
2005-12-27 22:12 ` Petteri Räty [this message]
2005-12-28 16:11 ` Paul de Vrieze
2005-12-28 16:26 ` Petteri Räty
2005-12-28 19:38 ` Paul de Vrieze
2005-12-28 19:52 ` Petteri Räty
2005-12-29 17:29 ` solar
2005-12-28 20:13 ` Mike Frysinger
2005-12-28 20:43 ` Paul de Vrieze
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43B1BC36.3040905@gentoo.org \
--to=betelgeuse@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox