From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11709 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: symlinks of glibc shared libs to musl libc.so Date: Sun, 9 Jul 2017 22:02:21 -0400 Message-ID: <20170710020221.GM1627@brightrain.aerifal.cx> References: <20170710013640.GA323@freedom> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1499652172 28546 195.159.176.226 (10 Jul 2017 02:02:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2017 02:02:52 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-11722-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jul 10 04:02:47 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dUO1x-0006R4-Ra for gllmg-musl@m.gmane.org; Mon, 10 Jul 2017 04:02:33 +0200 Original-Received: (qmail 3443 invoked by uid 550); 10 Jul 2017 02:02:34 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 3422 invoked from network); 10 Jul 2017 02:02:34 -0000 Content-Disposition: inline In-Reply-To: <20170710013640.GA323@freedom> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:11709 Archived-At: On Mon, Jul 10, 2017 at 01:36:40AM +0000, sylvain.bertrand@gmail.com wrote: > Hi, > > I have some binaries which are dependent on glibc shared libs (except libgcc_s) and the glibc dynamic loader. > For instance: libdl, libpthreads... > > Do symlinks on libc.so based on glibc sonames give me a chance to make them work? (in > theory yes, since the symbols are there). Are you asking about trying to run glibc-linked binaries with musl libc.so? For that usage, if it works, there is no need to make symlinks for other standard posix library names like libdl.so or libpthread.so or libm.so. They inherently always resolve to libc, and will not actually be loaded from a file when requested. Rich