I've tested torsocks_1.2-3_amd64.deb and it works in debian. However,
this approach does not work in general, and I've adopted a different
approach in Gentoo. The problem here stems from the fact that
dlsym(RTLD_NEXT, "missing") returns NULL when "missing" is a missing
symbol, but does not raise an error with dlerror(). This causes the
LOAD_ERROR macro to print out a false error message. You can check if
dlerror() returned something in LOAD_ERROR before printing anything and
suppress these false error messages.
The patch is at https://bugs.gentoo.org/show_bug.cgi?id=395953#c7.
--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail : bluen...@gentoo.org
GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535
GnuPG ID : D0455535
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org