libsodium.so.23 when using SSR in ubuntu 16

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I'm trying to use shadowsocksR in my 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


Then it said libsodium not found so I installed libsodium. Downloaded the LATEST.tar.gz from: https://download.libsodium.org/libsodium/releases/



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


But this time, when executing the command, I get this error:



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



Thanks for your help.










share|improve this question



























    up vote
    0
    down vote

    favorite












    I'm trying to use shadowsocksR in my 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


    Then it said libsodium not found so I installed libsodium. Downloaded the LATEST.tar.gz from: https://download.libsodium.org/libsodium/releases/



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


    But this time, when executing the command, I get this error:



    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



    Thanks for your help.










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to use shadowsocksR in my 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


      Then it said libsodium not found so I installed libsodium. Downloaded the LATEST.tar.gz from: https://download.libsodium.org/libsodium/releases/



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


      But this time, when executing the command, I get this error:



      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



      Thanks for your help.










      share|improve this question















      I'm trying to use shadowsocksR in my 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


      Then it said libsodium not found so I installed libsodium. Downloaded the LATEST.tar.gz from: https://download.libsodium.org/libsodium/releases/



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


      But this time, when executing the command, I get this error:



      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



      Thanks for your help.







      software-installation python-2.7






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 2 at 8:28









      muru

      131k19275471




      131k19275471










      asked Feb 2 at 3:32









      咸蛋超人

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002246%2flibsodium-so-23-when-using-ssr-in-ubuntu-16%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002246%2flibsodium-so-23-when-using-ssr-in-ubuntu-16%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491