[Pkg-privacy-maintainers] Bug#902792: torsocks: does not support and fails catastrophically with muliarch
Chris Hofstaedtler
zeha at debian.org
Fri Mar 7 08:15:16 GMT 2025
On Fri, Mar 07, 2025 at 12:48:43AM +0100, Hefee wrote:
> > > Or are you aware of any other solution to make use the correct torsocks
> > > script /LD_PRELOAD?
> >
> > I'm not sure I fully understand the fakeroot implementation, but the
> > general approach also used by eatmydata seems to be installing the
> > library directly into /usr/lib/<triplet> without a subdirectory and then
> > listing the library name in LD_PRELOAD without the
> > architecture-dependent leading directory components. fakeroot does not
> > follow this path and instead adds a ld.so.conf.d snippet, but I don't
> > think that's any better.
>
> Well as libtorsocks is a internal library, that does not even ship a abi numer ( only .so) I think this should been kept in a own directory.
>
> The way I see now to get torsocks script ready is:
> * change LD_PRELOAD="libtorsocks.so" within torsocks script
> * ship a ld.so.conf.d snippet (named torsocks-<tripplet>.conf) within libtorsocks:any
The ld.so.conf.d snippet probably adds no value, just complexity. If
you install libtorsocks.so into /usr/lib/<triplet>, it should just
work without an ld.so config.
Chris
More information about the Pkg-privacy-maintainers
mailing list