unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* torify w3m: ERROR: ld.so: object ‘libtorsocks.so’ cannot be preloaded
@ 2014-05-06 14:27 Nikita Karetnikov
  2014-05-06 16:17 ` Ludovic Courtès
  2014-05-06 16:21 ` Mark H Weaver
  0 siblings, 2 replies; 5+ messages in thread
From: Nikita Karetnikov @ 2014-05-06 14:27 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]

‘torify w3m https://check.torproject.org’ returns the following error
message before showing “Congratulations. This browser is configured to
use Tor.”  Is it harmless?

ERROR: ld.so: object '/gnu/store/2g7lx2qz06vlb241gfr6bpyp6mc5a24z-torsocks-1.2/lib/torsocks/libtorsocks.so' from LD_PRELOAD cannot be preloaded: ignored.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: torify w3m: ERROR: ld.so: object ‘libtorsocks.so’ cannot be preloaded
  2014-05-06 14:27 torify w3m: ERROR: ld.so: object ‘libtorsocks.so’ cannot be preloaded Nikita Karetnikov
@ 2014-05-06 16:17 ` Ludovic Courtès
  2014-05-06 16:21 ` Mark H Weaver
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2014-05-06 16:17 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> skribis:

> ‘torify w3m https://check.torproject.org’ returns the following error
> message before showing “Congratulations. This browser is configured to
> use Tor.”  Is it harmless?
>
> ERROR: ld.so: object '/gnu/store/2g7lx2qz06vlb241gfr6bpyp6mc5a24z-torsocks-1.2/lib/torsocks/libtorsocks.so' from LD_PRELOAD cannot be preloaded: ignored.

It’s a problem, because it means that libtorsocks’ replacements for
‘connect’, ‘sendto’, etc. are not being used.

FWIW I use Privoxy instead of torify for web browsing, but that does not
support https AFAIK.

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: torify w3m: ERROR: ld.so: object ‘libtorsocks.so’ cannot be preloaded
  2014-05-06 14:27 torify w3m: ERROR: ld.so: object ‘libtorsocks.so’ cannot be preloaded Nikita Karetnikov
  2014-05-06 16:17 ` Ludovic Courtès
@ 2014-05-06 16:21 ` Mark H Weaver
  2014-05-06 19:30   ` Ludovic Courtès
  2014-05-07 15:08   ` Nikita Karetnikov
  1 sibling, 2 replies; 5+ messages in thread
From: Mark H Weaver @ 2014-05-06 16:21 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> writes:

> ‘torify w3m https://check.torproject.org’ returns the following error
> message before showing “Congratulations. This browser is configured to
> use Tor.”  Is it harmless?
>
> ERROR: ld.so: object
> /gnu/store/2g7lx2qz06vlb241gfr6bpyp6mc5a24z-torsocks-1.2/lib/torsocks/libtorsocks.so'
> from LD_PRELOAD cannot be preloaded: ignored.

No, this is an important error.  I'm reasonably sure it means that w3m
is not getting torified at all.  One possibility is that torsocks and
w3m both link to the same shared library, but they are using different
versions of that library.  Try rebuilding both w3m and torsocks to make
sure they are harmonious.

FWIW, I've never tried torifying w3m in this way.  Instead, I use
privoxy.  I configured privoxy to use Tor via SOCKS5, and I set the
http_proxy and https_proxy environment variables so that most web
clients (including w3m and guile 2.0.11) use privoxy.  IIRC, this is
recommended over using torify in most cases.

     Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: torify w3m: ERROR: ld.so: object ‘libtorsocks.so’ cannot be preloaded
  2014-05-06 16:21 ` Mark H Weaver
@ 2014-05-06 19:30   ` Ludovic Courtès
  2014-05-07 15:08   ` Nikita Karetnikov
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2014-05-06 19:30 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> FWIW, I've never tried torifying w3m in this way.  Instead, I use
> privoxy.  I configured privoxy to use Tor via SOCKS5, and I set the
> http_proxy and https_proxy environment variables so that most web
> clients (including w3m and guile 2.0.11) use privoxy.

Oh indeed, it actually works fine for HTTPS too.

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: torify w3m: ERROR: ld.so: object ‘libtorsocks.so’ cannot be preloaded
  2014-05-06 16:21 ` Mark H Weaver
  2014-05-06 19:30   ` Ludovic Courtès
@ 2014-05-07 15:08   ` Nikita Karetnikov
  1 sibling, 0 replies; 5+ messages in thread
From: Nikita Karetnikov @ 2014-05-07 15:08 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

> I'm reasonably sure it means that w3m is not getting torified at all.

What about the TorCheck response: “Congratulations. This browser is
configured to use Tor.”?

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-07 15:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-06 14:27 torify w3m: ERROR: ld.so: object ‘libtorsocks.so’ cannot be preloaded Nikita Karetnikov
2014-05-06 16:17 ` Ludovic Courtès
2014-05-06 16:21 ` Mark H Weaver
2014-05-06 19:30   ` Ludovic Courtès
2014-05-07 15:08   ` Nikita Karetnikov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).