From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7326 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: perl native musl, ldd Date: Thu, 2 Apr 2015 23:34:48 +0200 Message-ID: <20150402213448.GD27899@port70.net> References: <551D65EF.9030802@safe.ca> <20150402161837.GA6817@brightrain.aerifal.cx> <551D87C0.4010409@safe.ca> <20150402184810.GF4456@example.net> <551DA936.2070302@safe.ca> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1428010512 15362 80.91.229.3 (2 Apr 2015 21:35:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Apr 2015 21:35:12 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7339-gllmg-musl=m.gmane.org@lists.openwall.com Thu Apr 02 23:35:07 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YdmlW-00062W-JU for gllmg-musl@m.gmane.org; Thu, 02 Apr 2015 23:35:07 +0200 Original-Received: (qmail 15435 invoked by uid 550); 2 Apr 2015 21:35:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 15417 invoked from network); 2 Apr 2015 21:35:00 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <551DA936.2070302@safe.ca> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:7326 Archived-At: * Jean-Marc Pigeon [2015-04-02 16:40:22 -0400]: > Using ldd was the best way I found to list one package all > dependencies (looking at ELF file type ans searching for > required external components). > If you have a better way (more standard) to propose not using > ldd that will be a good thing. idea? if you care about the elf dependencies then use the elf standard an elf binary will have its dependencies in the dynamic section (DT_NEEDED entries, you can get them by readelf -d or objdump -p) (of course the names there are mapped to paths in an implementation defined way and will depend on the runtime environment)