Re: git: 4251c2a2ddb5 - main - net/torsocks: Fix USE_LDCONFIG

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 05 May 2024 15:45:10 UTC
Hi Baptiste,


On 5/5/24 03:26, Baptiste Daroussin wrote:
> Why this is wrong and USE_LDCONFIG should not be used at all, it is 
> meant to be used via LD_PRELOAD

 > Why this is wrong

because USE_LDCONFIG=yes adds $PREFIX/lib to ldconfig path, while this 
port installs shared libraries into a different directory.

 > USE_LDCONFIG should not be used at all, it is meant to be used via 
LD_PRELOAD

It is mostly used via LD_PRELOAD, but dependent package developers can 
also decide to link to it permanently, for example for security reasons.
So IMO USE_LDCONFIG should be present in this port.


Thanks,
Yuri