From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8992 Path: news.gmane.org!not-for-mail From: Alba Pompeo Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl & proprietary programs Date: Tue, 22 Dec 2015 13:37:52 -0200 Message-ID: References: <20151222132706.57214aa6@vostro> <20151222222513.10f23f5a@r2lynx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1450798689 10809 80.91.229.3 (22 Dec 2015 15:38:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2015 15:38:09 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9005-gllmg-musl=m.gmane.org@lists.openwall.com Tue Dec 22 16:38:08 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 1aBP0q-000086-BT for gllmg-musl@m.gmane.org; Tue, 22 Dec 2015 16:38:08 +0100 Original-Received: (qmail 15409 invoked by uid 550); 22 Dec 2015 15:38:05 -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 15381 invoked from network); 22 Dec 2015 15:38:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=WhuO7bFO61Fq3QUeqnNG+Es3RBb7+gzukC1LZMRXZFI=; b=ydzco4FpYXMEsGK/POV/H8pScLMspO9v9aIO7bwcxqDZ9KJXBmG90gU6kdwCjoyaMU ZUyH233C5oY0kaijMCl3YEGNWEYV7bS9x5rrotnDw7Z3fILXd1qAe93JM8kYAd6e4f3I SuStg2FUYG5L1bPDNt8KNqr5B5lEq2KM4n6QE0QTzyucpUps/4wLp1OkFmx5n5iEuShH VrrvujJ+Eycb3PPNWkA5Uwtt2fmmbrb3/GtQqPmzmwslollmcGrqYrU8tVdjgmVaxMC2 Foym/IB2hm2yq5aYuMDUi0i6seL3jHZ0mhavy4TKfYGGLCgyh275sI8pKiRgzn/+XYsy 8yTw== X-Received: by 10.194.103.198 with SMTP id fy6mr10305518wjb.48.1450798672877; Tue, 22 Dec 2015 07:37:52 -0800 (PST) In-Reply-To: <20151222222513.10f23f5a@r2lynx> Xref: news.gmane.org gmane.linux.lib.musl.general:8992 Archived-At: chroot is a little better than dual-boot, but still very unfriendly for a day-to-day usage of many proprietary tools. On Tue, Dec 22, 2015 at 1:25 PM, =D0=A0=D1=8B=D1=81=D1=8C wrote: > On Tue, 22 Dec 2015 13:27:06 +0200 > Timo Teras wrote: > >> On Tue, 22 Dec 2015 09:23:08 -0200 >> Alba Pompeo wrote: >> >> > As a user, my main issue with musl by far is the lack of ability to >> > run proprietary programs. Almost all software I need for work is >> > proprietary and I currently have to dual boot other operating system >> > just to run it, because there is no musl binary. >> > >> > Is there any strategy to get musl to be more useful on proprietary >> > environments? Either partnerships with some companies to spread musl >> > or a compatibility mode that you can use when needed? This would be >> > of great help for those that unfortunately aren't on the ideal world >> > where every tool has the source available for you to compile. >> >> Musl works with surprisingly many proprietary programs. Could you >> explain more the problem you have? >> >> Though, you you do have to have symlinks for the glibc style library >> names for things to work. >> >> In Alpine Linux these comes with "apk add libc6-compat". >> >> /Timo > > I can also suggest building chroots from existing glibc distributions. > For example, one can get full Slackware DVD, unpack it fully or > partially and use the result root as chroot tree and put a program > inside it. Though there is little help needed to define proper symlinks > to unpacked shared objects. This can be achieved with simple script > employing readelf or running glibc's ldconfig inside chroot. > > This method is IMO more cleaner when you want to run glibc programs > completely unmodified. Missing virtual filesystems and locations with > user data can be bind-mounted. > > -- > http://lynxlynx.tk/ > Power electronics made simple > Unix and simple KISS C code