From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Paul Schmidt Subject: Re: General Question: Execution of binaries not built for GuixSD Date: Wed, 22 Jun 2016 12:50:27 +0200 Message-ID: <576A6D73.3070104@gmx.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFfjv-0001Nn-7W for help-guix@gnu.org; Wed, 22 Jun 2016 06:50:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFfjr-0004a7-2v for help-guix@gnu.org; Wed, 22 Jun 2016 06:50:34 -0400 Received: from mout.gmx.net ([212.227.17.21]:49453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFfjq-0004ZD-NP for help-guix@gnu.org; Wed, 22 Jun 2016 06:50:31 -0400 Received: from [129.70.76.217] ([129.70.76.217]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LpsmR-1buFLX0QsR-00fh3e for ; Wed, 22 Jun 2016 12:50:28 +0200 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org On 22.06.2016 01:21, christoph vogelsberg wrote: > Hello > > I have a fresh installation of GuixSD and I'm keen of learning more. I struggle with a concept and don't know how to circumvent best: > > Binaries built for ordinary Linux's (as, in my case, Firefox Developer Edition) expect libraries on certain standard pathes which doesn't exist on GuixSD. I found three possibilities that might work: > > * use fakechroot to make my user profile a pseudo root (disadvantage: I have no experience, it seams there is no package for that) > * create symbolic links (disadvantage: new builts get a new path with a hash value and must be re-linked properly) > * install a minimal Linux and use Guix instead of GuixSD (disadvantage: this would the point where I had capitulated) > > My question: is there an already elabored way, documentation and so on, for this specific problem? There's a tool that you can use to hack library paths in ELF binaries. I once packaged the binary releases of firefox and thunderbird using that way, but I took the repos containing the package definitions offline due to licensing issues. You could use those as a starting point. If you wish I can dig out my local copies of the repos once I get home.. Regards, Flo