From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7469 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: ldconfig? /usr/lib64 LD_LIBRARY_PATH Date: Wed, 22 Apr 2015 15:11:33 -0400 Message-ID: <20150422191133.GF6817@brightrain.aerifal.cx> References: <5537E54D.9090500@safe.ca> <20150422183702.GE6817@brightrain.aerifal.cx> <5537F191.6070508@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 1429729939 23297 80.91.229.3 (22 Apr 2015 19:12:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Apr 2015 19:12:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7482-gllmg-musl=m.gmane.org@lists.openwall.com Wed Apr 22 21:12:19 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 1Yl04I-0006RV-ED for gllmg-musl@m.gmane.org; Wed, 22 Apr 2015 21:12:18 +0200 Original-Received: (qmail 17746 invoked by uid 550); 22 Apr 2015 19:11:46 -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 17706 invoked from network); 22 Apr 2015 19:11:45 -0000 Content-Disposition: inline In-Reply-To: <5537F191.6070508@safe.ca> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:7469 Archived-At: On Wed, Apr 22, 2015 at 03:08:01PM -0400, Jean-Marc Pigeon wrote: > >> Is there a easy/standard way in musl to set the libraries in > >> designated area? > > > > Just place the paths you want searched in a file named > > /etc/ld-musl-x86_64.path (or replace x86_64 with your arch, the > > same as the name in /lib/ld-musl-*.so.1), separated by newlines or > > colons. If this file exists it will replace (not add to) the > > default search path, so you need to include all dirs you want > > searched. > > > > Note that ld-musl-*.so.1 itself needs to be in /lib. > > > Many many Thanks Rich... > > Question: where is doc about this? (I should had find it myself). It's in the documentation on the website at: http://www.musl-libc.org/manual.html Note that it's not up-to-date with current musl and not complete, but it covers most of the important things to know from a non-developer (i.e. just end user or deployment/integration) standpoint. Rich