From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7336 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl ldd? Date: Fri, 3 Apr 2015 16:55:42 +0200 Message-ID: <20150403145542.GE27899@port70.net> References: 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 1428072959 2547 80.91.229.3 (3 Apr 2015 14:55:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Apr 2015 14:55:59 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7349-gllmg-musl=m.gmane.org@lists.openwall.com Fri Apr 03 16:55:58 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 1Ye30m-0006dQ-CO for gllmg-musl@m.gmane.org; Fri, 03 Apr 2015 16:55:56 +0200 Original-Received: (qmail 29812 invoked by uid 550); 3 Apr 2015 14:55:54 -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 29794 invoked from network); 3 Apr 2015 14:55:54 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:7336 Archived-At: * John Mudd [2015-04-03 10:16:32 -0400]: > Is there a substitute for 'ldd' command to list shared library dependencies > for musl compiled executables? > > $ ldd postgresql-*.install/bin/postgres > postgresql-9.4.1.install/bin/postgres: error while loading shared > libraries: /usr/lib/i386-linux-gnu/libc.so: invalid ELF header make it a symlink to the libc/loader $ readlink /usr/bin/ldd ../../lib/ld-musl-x86_64.so.1 $ ldd /usr/bin/python /lib/ld-musl-x86_64.so.1 (0x72afa0d19000) libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x72afa0786000) libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x72afa0d19000)