[tor-talk] torsocks dont find curl program

intmail01 at gmail.com intmail01 at gmail.com
Mon Jan 22 23:18:04 UTC 2018


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.


More information about the tor-talk mailing list