From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7338 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl ldd? Date: Fri, 3 Apr 2015 15:58:00 -0400 Message-ID: <20150403195800.GE6817@brightrain.aerifal.cx> References: <20150403145542.GE27899@port70.net> 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 1428091099 4249 80.91.229.3 (3 Apr 2015 19:58:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Apr 2015 19:58:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7351-gllmg-musl=m.gmane.org@lists.openwall.com Fri Apr 03 21:58:18 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 1Ye7jM-0007At-59 for gllmg-musl@m.gmane.org; Fri, 03 Apr 2015 21:58:16 +0200 Original-Received: (qmail 16142 invoked by uid 550); 3 Apr 2015 19:58:14 -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 16124 invoked from network); 3 Apr 2015 19:58:14 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:7338 Archived-At: On Fri, Apr 03, 2015 at 07:41:08PM +0000, Wermut wrote: > If there are other ldd providing C libraries installed, you can also make a > link with its name ending in *ldd for the musl libc/loader. > > e.g. # ln -s /usr/local/bin/musl-ldd /lib/ld-musl-x86_64.so.1 Or you can invoke it as: /lib/ld-musl-x86_64.so.1 --list a.out This form is the nicest in many ways since it does not depend on argv[0]. Rich