[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-talk] torsocks dont find curl program



Hello,

After configuring and compiling torsocks 2.2.0, it did not work.
I try to use curl to get my internet IP addres with command 'torsocks
curl https://ipinfo.io/ip' but it fails and shows informations bellow:

/usr/sbin/torsocks: line 133: which: command not found
/usr/sbin/torsocks: line 134: which: command not found
ERROR: curl cannot be found.

I open the script torsocks with editor and at given lines it contains:
...
local app_path="`which $1`"
local getcap="`PATH="$PATH:/usr/sbin:/sbin" which getcap`"
...

Tor server allready work in background and listen to port 9050.
Please tell me how to correct the error.

Thank you.
-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk