mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 15:35:13 -04:00
In some distros, LD_LIBRARY_PATH must be explicitly set for tor to work
This commit is contained in:
parent
ee5895bbda
commit
7faa1cde26
1 changed files with 1 additions and 0 deletions
|
@ -354,6 +354,7 @@ class Onion(object):
|
||||||
[self.tor_path, "-f", self.tor_torrc],
|
[self.tor_path, "-f", self.tor_torrc],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
|
env={"LD_LIBRARY_PATH": os.path.dirname(self.tor_path)},
|
||||||
)
|
)
|
||||||
|
|
||||||
# Wait for the tor controller to start
|
# Wait for the tor controller to start
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue