From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MG5uG1o2P2ccAgEA62LTzQ:P1 (envelope-from ) for ; Thu, 21 Nov 2024 13:32:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MG5uG1o2P2ccAgEA62LTzQ (envelope-from ) for ; Thu, 21 Nov 2024 14:32:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=disroot.org header.s=mail header.b=k7gGtHTz; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732195930; a=rsa-sha256; cv=none; b=grmnObne2pl/U25JbAR0t+oI3CHPJY7ZqTETB5VMiokY1+j7t3xq/QjZRj3bzXReiqDV75 /1Oxj4GMBSThJ+qK26iaJD885wlWjxH35yZ0/c5Kv42FaVYjO3n3meUBaCDj+f2pryFRf1 NdGlCa0ZegF9Rl7yEoJXfN+uDmZgbIYsBoVrgeJzbnjWvDhAuDYdwPtude9XoXD0dbFyuz MquNwtF5l0vcjYE45rgG3Ay/F3yYltHLr38Z+DvGo4+ZPx2UbfhL0Ntge1MMnmWZCzt+1k uZpBDuorMtEOV/ca5J8NCqZDS3AfLjHJRRIITTFrAwMGHarkKg3fLtcobT6c2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=disroot.org header.s=mail header.b=k7gGtHTz; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732195930; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature:autocrypt:autocrypt; bh=/+0jn0WjP53TKm+AKgQzColxBl1WqNF6zIOnRVYcyeU=; b=uZqPbT47VyLCsLvZ1IdNr//WLoINDq5QOZmlg7Lqx6gkeq2+PLrGhTjOh1RMzh4OsJ9x01 NJgckLmhRJFUMPhXC4eCATM96n8SFxsrb8xo81WyaUr64B5CiR/duWe3yt04B9Z/Psr6Ux nVlykPtqOa4fO8oN7uA0PaLa5bvTBth3SkhpPtZYLzGmmPerevLejn0ZW6seyNavTo1n+p UXR8aCL4EgrQJEv8xe8D8+CaXkVWnjyUWxTL3hC0uNTcqD25jKu8XXLfLiXZIdEOJ0pNMM 3O0jzuRmMpfkCRBmyI6Xe1RocoMY6EHujyDgBIsUCu22dyFbOsPK9CpPbJIoIw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E9D802994 for ; Thu, 21 Nov 2024 14:32:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tE7Hg-0008Dk-Mu; Thu, 21 Nov 2024 08:31:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tE7HX-0008Cr-H1 for help-guix@gnu.org; Thu, 21 Nov 2024 08:31:41 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tE7HQ-0007s8-V2 for help-guix@gnu.org; Thu, 21 Nov 2024 08:31:36 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E7EA623305; Thu, 21 Nov 2024 14:31:25 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id y4fC_xN7IpLP; Thu, 21 Nov 2024 14:31:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1732195881; bh=RbDtp/gRUWtlRFMGuc9856/2387sdBzcs2p/g9PgsN0=; h=Date:From:To:CC:Subject:In-Reply-To:References; b=k7gGtHTzhaOtoRUfcPQHewGpQnB5J4re73LNGjecYqdFz9QUydXXjjD3xGpeIVnxY dup7coduLosV45Mkg62XSOYm39ii4FX29jL6u/dibv6rTF4X9qdPWqxRuKZBruyk/B DSBB5O6n72zGW2UFHtteTFnwXWhz9csmAynnKZVV0xNmtv7hPJyMmj8Kosda68SKVx cOg3ECwh6bS/r6Dgpjzf/pv3xzpAKrCyhE1e5q3JDIEVqDydi5Jrn8ray2hot6xBeB Wgk9m77bp04JU7p+csRpSaVFwCFBoOljF6sUwr1TMdht6ZM3OWfNPw37PHcUFFXCSO HJt8PsJOAzqiQ== Date: Thu, 21 Nov 2024 13:31:19 +0000 To: woshilapin , dev@icepic.de CC: help-guix@gnu.org Subject: Re: How to: How to wrap executablea? In-Reply-To: References: <9D8BC476-2680-474E-A5C0-1708487C905E@disroot.org> Message-ID: MIME-Version: 1.0 Autocrypt: addr=mariusgr@disroot.org; keydata= mQINBGS1j68BEADba422smkwUlr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LXJZbF8+EN7xRlhQKojsw5LFk+twcze+2xPFW WCvIfrdAote0uLGK8PNN4q4C8VT52/pRiTsoTAwEIxobo27hhOxkykAUqQ4N8cRFXQARAQABiQI8 BBgBCgAmFiEEexH4rCkqIPNc29VmYHqgsE/+ibYFAmS1sf0CGwwFCQeEzgAACgkQYHqgsE/+ibZ6 aBAAvAW0RMzpi5nPkpn0ypqlxu/4hi2ZH2gOrczK1pZJCWWaPjeyUjaCn8uLS9T5dDrccRQje6sR JRDWusGb2j/svzy4WnxtdLWVoIwopGnbJ+jjShLxV0cm/LDA6v1/4eD3gdAjxCpY1B9T9PckYevO LM/2ZZqcqR6FSBhC0aK8RytKgtC809Ivr4C0bQsbbb6UKo+nPECJH281xaOuzjOqxogz1lq6qfIw 43OxXK0H43zOf2hl0Wd48xAuqtWzN5tvNq+BbkLZETUusqKNOVjX8C+DxgdYrtYwnQj8Oe05jYZS UF7ovOMmleoTCcfKgc1e2KkQ2n/E+8ihzZuW1TRboVLiNZi9AVHP2SQjZe+crVrixmNjhwfCruaf 1vWfBn18b+OzR6JTPy6D/IzUDcty4xzL4Ixi9+OnMFLORh6hHkObe6u68OLq1ybNVcu1lgzTycEE Ouq9S+kVdnbp7dUmIbucSVE1Rp0aCc9Xvk8PZlg3RwGcIh54T66T8LKGwN/TbMUoXqjpgpaNGi4S kcjfHfMUn6QOZzc8+7xqiif8o05BHtTgK4aDHeh2HJD6BodiU6C9RD51JnHVZNjsXMSP/loY2XpS DtCHXiNq+Zho1Ckw7aOXzevuF1WMR/1kcsLboly3BNVem/57B39YKg7u2IhdJSTrOgGVxnZfZub0 h34= Received-SPF: pass client-ip=178.21.23.139; envelope-from=mariusgr@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Marius From: Marius via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: E9D802994 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.55 X-Spam-Score: -2.55 X-TUID: A1lUhW1Mm5cc Thank you all, I've recently found this possible solution that it's native to Guix: =2E So there we have the technical words we were looking= for, since Guix System does not conform with FHS the binary did not work= =2E But if I execute it in a shell container with a FHS emulated file syste= m then it would probably work (I've to try it yet)! Best regards, Marius=2E El 21 de noviembre de 2024 11:31:33 UTC, woshilapin escribi=C3=B3: >Hi Marius, >=20 >> I'm trying to execute a pre compiled program (on a Guix System) that I = think is trying to call /lib64/ld-linux-x86-64=2Eso=2E2 by its absolute pat= h=2E Since Guix System does use the store and usually makes use of variable= s like "SHELL", "LIBRARY_PATH", etc=2E How do I wrap executables that techn= ically are gnu-linux cross platform but use absolute paths that depend on d= istribution? > >It might not be exactly the same problem, but I remember getting around t= his kind of problem by providing guix's version of the library with `LD_LIB= RARY_PATH`=2E Doing something like this=2E > >``` >eval "$(guix shell --search-paths)" >export LD_LIBRARY_PATH=3D"${LIBRARY_PATH}" >``` > >It's probably a horrible hack (I honestly don't know enough to know if it= 's nice or horrible), but it got me something to work with=2E > >Hope this helps, and I'd be happy to know of a cleaner solution=2E > >Sincerely, >-- >woshilapin / Jean