From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 EFh7OuMvP2cdcgEAe85BDQ:P1 (envelope-from ) for ; Thu, 21 Nov 2024 13:04:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EFh7OuMvP2cdcgEAe85BDQ (envelope-from ) for ; Thu, 21 Nov 2024 14:04:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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=1732194275; a=rsa-sha256; cv=none; b=JjQ2b4BopiBpZBnM8Rk013il/fhQCw4fe+ebxplTXU/qrry8tIC5CCU4Xt0YoWXzRP8+jl An4P4ixEwY/SIKVjHilLSQH9DMKW+5Lv9QBG8zJWir/KwQ1+DLDM1sG0fXsZdeyoYEmP+s CFp+bpy2D46ADKvgD6qvoc5tIbFHOpa6GBpe8Y50zvjElrFi0sUDWOIRg+0M8fOEaEIO2H 8z1SNWRIrviuxMUJxsojakRLGEWz8lWQ7uqompZFF68BSWUFCXUqCTD19Ce9B5VPWMpKmM 8LM2axKhOtrUDF4THRL4G8kkmhuS7PrjxfUr16Kczv1GxlEPZMXcuakonZjz0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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=1732194275; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=vKGGyud2w4+2WL3LBCH2ySKttb+9HhwBxbyaT3Rx8YI=; b=dMzuWgUKwQKNwS8g2Cg4xmb1hZboTqHrHX8RgtmoL1vYkVNVYAK1Ab/suPQP4w3DzsslzD n/TE/g6zjjkDa3oBBbaYgX1DjLkNkOQZxPsM/0X2f4wR6Zvln88M5iIL2PlX6CORgj4gyN msLM3WfzxdIYjCM2AMOL6mVNC9QfSWzMoeFUifhyP/WI60Ky3nPQT5kPSvnaAx2NMbVwni qqLT7M/EbBW/IdmCG9qJSFiUZwz/TdfFQdeHVXZY7plaFB+GziZCwVb08Z4d+hl+tL9FnX QMyQlBa7et//qjMu0dMX1pqN3BK8zTaER1tV/gxHjwWhJYzuTsEWXtep+d7KVA== 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 8AAD73C0 for ; Thu, 21 Nov 2024 14:04:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tE6Gq-00089P-95; Thu, 21 Nov 2024 07:26:52 -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 1tE6Gp-00089G-Cd for help-guix@gnu.org; Thu, 21 Nov 2024 07:26:51 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tE6Gn-00023t-KK for help-guix@gnu.org; Thu, 21 Nov 2024 07:26:51 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 662AF20B9; Thu, 21 Nov 2024 13:26:46 +0100 (CET) X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id LfQHcbADkKTI; Thu, 21 Nov 2024 13:26:45 +0100 (CET) Received: from jurong (sauterelle.math.u-bordeaux1.fr [147.210.16.128]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 1105B2C; Thu, 21 Nov 2024 13:26:44 +0100 (CET) Date: Thu, 21 Nov 2024 13:26:40 +0100 From: Andreas Enge To: "Dev@icepic" Cc: help-guix@gnu.org Subject: Re: How to: How to wrap executablea? Message-ID: References: <9D8BC476-2680-474E-A5C0-1708487C905E@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=185.233.100.1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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: 8AAD73C0 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -1.79 X-Spam-Score: -1.79 X-TUID: F6W9DyUtT93P Am Thu, Nov 21, 2024 at 01:00:54PM +0100 schrieb Dev@icepic: > I think you need to rewrite the path to the dependencies of the executable using `patchelf`, so that the libs from the store are used. I only have done this in nix, but it should be the same for guix? Maybe someone with more experience can comment on this. I think you need to use "patchelf --set-interpreter FILENAME" for the ld-linux.so bit. I have done it in the past, but try to avoid it, as in the end running prebuilt binaries is always a hit-or-miss experience, possibly after spending quite some time trying to make things work. Andreas