From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wBu1N0AkwmUZtgAAe85BDQ:P1 (envelope-from ) for ; Tue, 06 Feb 2024 13:21:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wBu1N0AkwmUZtgAAe85BDQ (envelope-from ) for ; Tue, 06 Feb 2024 13:21:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b=VttyxmoZ; dmarc=pass (policy=none) header.from=zancanaro.id.au; 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=1707222080; 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: 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; bh=Mtav6pjtkyGFyz2wQG1VDtGnTXzLpeawonxYMVK3iyI=; b=JS9NTKzQKeoVT9OGe/OxXWs5+1P1F1d4p5HyAbTDCyPjd3Ar16L7UbfLOItTTGHq2GEdD3 h6cDd9fxH7LiVTjHi28T1lMNZFzrW2O1MM8RQgkNpMMilkPGZJLShopRqfHLBM6Q2kiZCz rm7fIQwfMTeiWj5tYUm09c5R1dYtzbCqIFk7QiAuUUaAXnMAKm2+DQd8jmMhYSOYwB7Tw8 T3pxLyk+GcBzprYkWEpXVTdb0Op22UQ/Xf/sbmNpUDMNGZ6VIRE/NvU1zfjAZjBIc2LiuI eDfw2cdAy4VmntN3VM4oXr4VuOp8UfGAXZHBxHcbBZ4wWM/xdbWwzXUWS0vtEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b=VttyxmoZ; dmarc=pass (policy=none) header.from=zancanaro.id.au; 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=1707222080; a=rsa-sha256; cv=none; b=gV1BGK9UIp8wfCbbKXyAgwj08ipXSCCpbhoLjWPl/Ha+gbvIP/d5xxld4BOivMhfIMp9FM /Jd+IxGSG4rpBy2GnC3RYk+i9yeOiXDsiIVbyIshICypWDw3MYMmWxa+oeDX1+lzP5NgQE GUcwTQHYgwBdz5VmAn1C9Vtk4hnbYgS1tyAumAqLTzyPiFf6+U2O0Nd0/DXkh+3B7uruWP 8JgHKfWwXBHObU8btyLYKcDL7Av7Qsln20ix3N7SgbDabQIHs+DJhmv59j79kq+3am3Pc0 m0/wf/IBK//b39GiBFklkCJXmjx2TImwAdNjN6Rxp8tnK1CxJvFKHnOlu/LVZA== 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 CD69F63B9E for ; Tue, 6 Feb 2024 13:21:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXKRh-0004aG-It; Tue, 06 Feb 2024 07:21:01 -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 1rXKRf-0004a1-JP for help-guix@gnu.org; Tue, 06 Feb 2024 07:20:59 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXKRd-0001mG-BC for help-guix@gnu.org; Tue, 06 Feb 2024 07:20:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=Mtav6pjtkyGFyz2 wQG1VDtGnTXzLpeawonxYMVK3iyI=; h=date:references:in-reply-to:subject: cc:to:from; d=zancanaro.id.au; b=VttyxmoZwTds7IuenMYMQLBpBYkmYBYV0zeCz e7vOOT2/S1zbckkD0kd8telxCt+EDhZYD9AtGG1EX/fMalQdbCuK+4sa/Tl9XcjmsYNj1x spLYPxTYhqnk8EB9lwDd2CiN+ZwMBknZB6t1FsruLzqW0QQQethwlbKPgCEyWCt0= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id e6b7bc05 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 6 Feb 2024 12:20:49 +0000 (UTC) From: Carlo Zancanaro To: Marek =?utf-8?Q?Pa=C5=9Bnikowski?= Cc: help-guix@gnu.org Subject: Re: How do I use wrap-ruby-program to make curl findable in a Ruby package? In-Reply-To: <8965685.VV5PYv0bhD@akashi> ("Marek =?utf-8?Q?Pa=C5=9Bnikowsk?= =?utf-8?Q?i=22's?= message of "Mon, 05 Feb 2024 21:35:53 +0100") References: <38010331.XM6RcZxFsP@akashi> <8965685.VV5PYv0bhD@akashi> Date: Tue, 06 Feb 2024 23:20:52 +1100 Message-ID: <87fry5iy1n.fsf@zancanaro.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Spam-Score: -6.17 X-Spam-Score: -6.17 X-Migadu-Queue-Id: CD69F63B9E X-Migadu-Scanner: mx12.migadu.com X-TUID: 2m/nIWj76GSM Hi Marek, On Mon, Feb 05 2024, Marek Pa=C5=9Bnikowski wrote: > After many hours of searching and thinking I found the following code > works: I'm glad you got something working. Using wrap-program like this will likely work, but with the downside that LD_LIBRARY_PATH will also be inherited by any child processes. This might be fine for ruby-nano-bots, but this has caused me serious compatibility problems in the past. Usually, I prefer to store a reference to the precise library in the store, rather than setting LD_LIBRARY_PATH. I'm not really sure how to do that in your case, because I'm not familiar with ruby-nano-bots or any of its dependencies. Carlo