SusmithKrishnan / torghost

TorGhost is an anonymization script. TorGhost redirects all internet traffic through SOCKS5 tor proxy. DNS requests are also redirected via tor, thus preventing DNSLeak. The scripts also disables unsafe packets exiting the system. Some packets like ping request can compromise your identity.
GNU General Public License v3.0
850 stars 281 forks source link

Kbuntu 20.04 - error while loading shared libraries: libevent-2.1.so.6 #78

Closed vmillet-dev closed 4 years ago

vmillet-dev commented 4 years ago

Update

I re-build from source libevent (install it etc.) and it's work now with the current building lib and not with the provided one. My fault maybe

Purpose

My soft is updated and worked very well until I came to kubuntu 20.04. I can't start, restart or do other things. Now, it's show me :

error while loading shared libraries: libevent-2.1.so.6

Starting/stopping time

Step to reproduce at the starting sudo torghost [-s|-x]

Out Message

[22:06:52] Always check for updates using -u option
[22:06:52] Torrc file already configured
[22:06:52] Configuring DNS resolv.conf file..  [done]
[22:06:52] Stopping tor service  [done]
**tor: error while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory**
[22:06:52] Starting new tor daemon  [done]
[22:06:52] setting up iptables rules [done]
[22:06:52] Fetching current IP...

My librairie

valentin@Lenovo:~$ ls /usr/lib/ | grep libevent libevent-2.1.so.6

Because yes, i checked that before post this :3

Re-starting time

Step to reproduce an another error when restarting

sudo torghost -r

Output Message

[sudo] Mot de passe de valentin : 
[22:01:29] Please wait...
[22:01:36] Requesting new circuit...
Traceback (most recent call last):
  File "torghost.py", line 245, in <module>
  File "torghost.py", line 237, in main
  File "torghost.py", line 191, in switch_tor
  File "stem/control.py", line 1021, in from_port
  File "stem/socket.py", line 493, in __init__
  File "stem/socket.py", line 176, in connect
  File "stem/socket.py", line 528, in _make_socket
stem.SocketError: [Errno 111] Connection refused
[45905] Failed to execute script torghost

My setup

Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.4.0-26-generic OS Type: 64-bit Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx Memory: 9,7 Gio