From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2902 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl vs. Debian policy Date: Sat, 9 Mar 2013 22:39:52 -0500 Message-ID: <20130310033952.GD20323@brightrain.aerifal.cx> References: <20130306152913.59b2e776.idunham@lavabit.com> <20130307130424.GW20323@brightrain.aerifal.cx> <87r4jr6pm3.fsf@gmail.com> <20130308004118.GX20323@brightrain.aerifal.cx> <8762117wlk.fsf@gmail.com> <20130309012712.GB20323@brightrain.aerifal.cx> <87mwuc5ob2.fsf@gmail.com> <20130310032956.GC20323@brightrain.aerifal.cx> 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 1362886809 8184 80.91.229.3 (10 Mar 2013 03:40:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Mar 2013 03:40:09 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2903-gllmg-musl=m.gmane.org@lists.openwall.com Sun Mar 10 04:40:34 2013 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 1UEX7a-0005sE-Q1 for gllmg-musl@plane.gmane.org; Sun, 10 Mar 2013 04:40:27 +0100 Original-Received: (qmail 9653 invoked by uid 550); 10 Mar 2013 03:40:04 -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 9643 invoked from network); 10 Mar 2013 03:40:04 -0000 Content-Disposition: inline In-Reply-To: <20130310032956.GC20323@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2902 Archived-At: On Sat, Mar 09, 2013 at 10:29:56PM -0500, Rich Felker wrote: > > Note that /usr/lib/libc.so is a glibc file containing an ld script here. > > > > If I remove /usr/lib/ld-musl-x86_64.so.1, the message goes away. > > > > But I think it also had something to do with > > lrwxrwxrwx 1 root root 7 Jan 27 08:29 lib -> usr/lib/ > > > > I thought the issue was that it found ld-musl-x86_64.so.1 and tried to > > ensure libc.so points to it, due to the SONAME. > > OK, I think we've found something nasty: on your system this warning > is happening because /usr/lib and /lib are the same directory. On my > system, /lib/libc.so is being silently created by ldconfig, pointing > to ld-musl. The latter behavior is much worse; it could cause -lc to > try to pull in musl, depending on the library path order. I'm working > on a fix. Fixed by removing the soname. It was completely unnecessary. Rich