libsodium.so.23 ao usar o SSR no ubuntu 16

0

Estou tentando usar shadowsocksR no meu Ubuntu 16.04 LTS.

sudo apt-get install git
git clone -b manyuser https://github.com/shadowsocksr-backup/shadowsocksr.git
cd shadowsocksr/shadowsocks
python local.py -s server_ip -p server_port -k password -m chacha20-ietf -o tls1.2_ticket_auth

Então ele disse libsodium not found , então instalei libsodium . Baixou o LATEST.tar.gz de: link

tar -zxf  LATEST.tar.gz
cd libsodium-stable
./configure
make && make check
sudo make install

Mas desta vez, ao executar o comando, recebo este erro:

python local.py -s 67.216.216.164 -p 8989 -k 1997hifai -m chacha20-ietf -o tls1.2_ticket_auth  
IPv6 support  
Traceback (most recent call last):  
  File "local.py", line 81, in <module>  
    main()  
  File "local.py", line 43, in main  
    config = shell.get_config(True)  
  File "/home/huangyicheng/Desktop/shadowsocksr/shadowsocks/../shadowsocks/shell.py", line 299, in get_config  
    check_config(config, is_local)  
  File "/home/huangyicheng/Desktop/shadowsocksr/shadowsocks/../shadowsocks/shell.py", line 129, in check_config  
    encrypt.try_cipher(config['password'], config['method'])  
  File "/home/huangyicheng/Desktop/shadowsocksr/shadowsocks/../shadowsocks/encrypt.py", line 46, in try_cipher  
    Encryptor(key, method)  
  File "/home/huangyicheng/Desktop/shadowsocksr/shadowsocks/../shadowsocks/encrypt.py", line 90, in __init__  
    random_string(self._method_info[1]))  
  File "/home/huangyicheng/Desktop/shadowsocksr/shadowsocks/../shadowsocks/encrypt.py", line 119, in get_cipher  
    return m[2](method, key, iv, op)  
  File "/home/huangyicheng/Desktop/shadowsocksr/shadowsocks/../shadowsocks/crypto/sodium.py", line 71, in __init__  
    load_libsodium()  
  File "/home/huangyicheng/Desktop/shadowsocksr/shadowsocks/../shadowsocks/crypto/sodium.py", line 40, in load_libsodium  
    'libsodium')  
  File "/home/huangyicheng/Desktop/shadowsocksr/shadowsocks/../shadowsocks/crypto/util.py", line 83, in find_library  
    lib = CDLL(path)  
  File "/usr/lib/python2.7/ctypes/__init__.py", line 362, in __init__  
    self._handle = _dlopen(self._name, mode)  
OSError: libsodium.so.23: cannot open shared object file: No such file or directory  

Obrigado pela sua ajuda.

    
por 咸蛋超人 02.02.2018 / 03:32

0 respostas