[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I use wrap-ruby-program to make curl findable in a Ruby packa
From: |
Carlo Zancanaro |
Subject: |
Re: How do I use wrap-ruby-program to make curl findable in a Ruby package? |
Date: |
Tue, 06 Feb 2024 23:20:52 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Marek,
On Mon, Feb 05 2024, Marek Paśnikowski 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