From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: torsocks works with wget but fails git-clone: "unable to lookup symbols in libc.so.6" Date: Wed, 5 Apr 2017 22:54:57 +0000 Message-ID: <20170405225457.c4wnafedo6qnisfk@abyayala> References: <87pogq8ojs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvtpT-0007NW-AV for help-guix@gnu.org; Wed, 05 Apr 2017 18:55:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvtpO-0006hd-Tq for help-guix@gnu.org; Wed, 05 Apr 2017 18:55:07 -0400 Received: from perdizione.investici.org ([2001:41d0:2:33d0::19]:40247) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cvtpO-0006hH-K4 for help-guix@gnu.org; Wed, 05 Apr 2017 18:55:02 -0400 Content-Disposition: inline In-Reply-To: <87pogq8ojs.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Mekeor Melire Cc: help-guix Mekeor Melire transcribed 1.0K bytes: > > Problem > ======= > > This works fine: > > $ torsocks wget http://github.com/mekeor/config > > This fails: > > $ torsocks git clone http://github.com/mekeor/config > 1491426097 ERROR torsocks[25849]: Unable to lookup symbols in libc.so.6((null)) (in init_libc_symbols() at torsocks.c:239) > > Torifying browsers like netsurf-gtk, surf, w3m either also fail or don't > succeed. Using "torify" instead of "torsocks" results in the same. > > > Information > =========== > > My config.scm contains: > > (tor-service) That's not enough for torify (torification? to use torsocks / the SOCKS5 of tor) of applications. As I told you earlier, you need a SOCKSPort, like so: (services (cons* (tor-service (plain-file "torrc" "SocksPort 127.0.0.1:9050\n")))) This can be extended any other values you can find in "man torrc" as long as you end the lines with "\n". The (tor-service) is mostly just usable for offering onion services, and we should document that the default is to leave it up to the person using the system to configure more behavior. > My whole config is available at: > > https://github.com/mekeor/config/blob/master/etc/guix/config.scm > > The error is printed on this line in the code of torsocks: > > https://github.com/dgoulet/torsocks/blob/master/src/lib/torsocks.c#L239 > > I'm using version 20170405.20 of Guix (on GuixSD). > > > Question > ======== > > Why does torsocks work with wget but doesn't work with git-clone? What > does the error mean? What does it have to do with libc? Is anybody able > to reproduce this? > > -- > mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868 >