From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11722 Path: news.gmane.org!.POSTED!not-for-mail From: William Pitcock Newsgroups: gmane.linux.lib.musl.general Subject: Re: symlinks of glibc shared libs to musl libc.so Date: Wed, 12 Jul 2017 02:03:34 -0500 Message-ID: References: <20170710013640.GA323@freedom> <20170710020221.GM1627@brightrain.aerifal.cx> <20170711175350.GB314@freedom> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1499843056 27279 195.159.176.226 (12 Jul 2017 07:04:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Jul 2017 07:04:16 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11735-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 12 09:04:12 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 1dVBgx-0006t3-Ko for gllmg-musl@m.gmane.org; Wed, 12 Jul 2017 09:04:11 +0200 Original-Received: (qmail 24093 invoked by uid 550); 12 Jul 2017 07:04:13 -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 24000 invoked from network); 12 Jul 2017 07:04:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ajjekFU8NYzK5nWOJSyFjLzVClIylcZ4h0Eu1+BPXnU=; b=OM4utzOl73KaiHZ32b0u9IkqRfKbuuyrAGbWbQJIE32OIg1Mt4mp3+DKSaUc0OVP06 YCOZbhi671I1vk8euqMgzT3t6zplp869jAnAnlx+vEpm5pcUDaInxB3ZALQ/uIeOhWtm kWWQzbiyYryBK3qi2K5hrI47/HIhiZmGFSjG+dULU+Ia+PByXJ1QsA+EBfXQ07UzAJYt StaLm+AMgKtKwOf0kz1HTVXGpHQ5w+vjpmNbKWM+D5IeqdOyI5Cip/WAno7L7FT/dgge l6Yw7v3Nx6tlQWDoFU2bIAQyf/FpGZb9viHjMyQof4Q3hV2Ir/lmjE9O/MNQTI6Jyikw 5hHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ajjekFU8NYzK5nWOJSyFjLzVClIylcZ4h0Eu1+BPXnU=; b=EZpaV+o08KAGWFFXiZq4nFkXEt+Yr+YfUkJJAo27HqkTSmUbKpR8ZgTdZ0iKFpPfEL rFOO4G3FhF0U28dHFvR1BokDc/DQZJAhcLpNYBXZGFq1lpEwzmgA2cMplPvdUe7Lh4eE Qx8KaPJUAjoFrJYsbmINDS+MhDtno+wyRxKd95cvPg//Nex4SWWWg++xcM7gTKMRhz9N UiViH//Dj9/uNLZt4UYxZGwnUsSuIXeqGK+DAIxpg1674xSYGAdGNtC0tRXgN0ieGMqD qWu6NqJWA0Lf5DAIhutcSdYNXfEGV4cJdTEPdMDBOSETg+WpvrKwx+vZx6iEC0MF2+0D WwvQ== X-Gm-Message-State: AIVw113SnuK5N2op5ASXQ/iB+6+2sGSdiBh8H3imtAEShugmUQsXjgtw 1azWEeto+/PmkNAY50zJSEtRqymZm4LFwLA= X-Received: by 10.237.52.39 with SMTP id w36mr4999127qtd.142.1499843015173; Wed, 12 Jul 2017 00:03:35 -0700 (PDT) In-Reply-To: <20170711175350.GB314@freedom> Xref: news.gmane.org gmane.linux.lib.musl.general:11722 Archived-At: Hi, On Tue, Jul 11, 2017 at 12:53 PM, wrote: > On Sun, Jul 09, 2017 at 10:02:21PM -0400, Rich Felker wrote: >> Are you asking about trying to run glibc-linked binaries with musl >> libc.so? > > Yes. Any feedbacks of those who tried? You might want to look at gcompat, which is a compatibility layer being incubated as part of the Adelie Linux distribution (as well as carried by Alpine). It can run many glibc binaries through a custom ELF interpreter that invokes the musl ELF interpreter with an additional preload containing many glibc compatibility symbols. https://code.foxkit.us/adelie/gcompat/tree/master On Alpine, you could do "apk add gcompat@testing" or similar to get it, assuming the testing repo is enabled. William