From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4972 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH 2/3] Add soname to dynamic section Date: Sun, 27 Apr 2014 23:22:40 -0700 Message-ID: <20140428062239.GA1516@muslin> References: <1398649434-23560-1-git-send-email-raj.khem@gmail.com> <1398649434-23560-2-git-send-email-raj.khem@gmail.com> <20140428020032.GU26358@brightrain.aerifal.cx> <20140428055421.GA1429@muslin> 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 1398666155 32163 80.91.229.3 (28 Apr 2014 06:22:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 06:22:35 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4976-gllmg-musl=m.gmane.org@lists.openwall.com Mon Apr 28 08:22:29 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WeexQ-00012p-SY for gllmg-musl@plane.gmane.org; Mon, 28 Apr 2014 08:22:28 +0200 Original-Received: (qmail 32299 invoked by uid 550); 28 Apr 2014 06:22:28 -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 32291 invoked from network); 28 Apr 2014 06:22:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=GmfwxN0FKjAMTE3EvhHLV8a742hKTgIiM0IiMLOu3Iw=; b=eeBFYsLeFd1cZMXO+Asq/iUQssie5khzQdNpTWxkm90lUqhnI5sEA53NfixRLBmBTd qJgGw/gEUBPOeTJra+mcmUIakKC3HMyvXfd0gvDf6BvGB+PWK9rCj82AtJGP1kzW3F2O epvbURUtFoqzPYM3Sdinzn0w7W4WZIjrOR5H4ifKwat90qR8LgExAjfSeJeLzZhG+XoA lxQts6JJWTzAdL21WZh+NVbHN6xDGYSp4sBOetIggLNFwer7R5mjo7sUZyYLsE0W4b3i Dd0t6NHo3XVy4qH1OhOKkrAGt1g1FprOUio6AU00kh1m6PtfOtDGfMipj1REr1M9c2wF BqEw== X-Received: by 10.69.1.69 with SMTP id be5mr7175127pbd.126.1398666135054; Sun, 27 Apr 2014 23:22:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4972 Archived-At: On Sun, Apr 27, 2014 at 11:00:16PM -0700, Khem Raj wrote: > On Sun, Apr 27, 2014 at 10:54 PM, Isaac Dunham wrote: > > > > The SONAME used to be in the makefile, but was removed due to people > > encountering problems when they ran ldconfig. > > well, it seems coexisting is another usecase. My systems are > bootstrapped with musl so I do not worry about ldconfig and glibc > being around. > so may be making soname configurable > (--enable-soname/--disable-soname) is middle ground It should be possible to add -Wl,-soname=libc.so to LDFLAGS. For example, ./configure --prefix=/usr --libdir=/lib LDFLAGS="-Wl,-soname=libc.so" HTH, Isaac Dunham