0

I'm trying to use shadowsocksR in my ubuntu 16 .

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

then he said " libsodium not found" so I install libsodium

  1. download the LATEST.tar.gz from https://download.libsodium.org/libsodium/releases/
  2. tar -zxf LATEST.tar.gz
  3. cd libsodium-stable
  4. ./configure
  5. make && make check
  6. sudo make install ```

but this time

python local.py -s server_ip -p server_port -k password -m chacha20-ietf -o tls1.2_ticket_auth

He said OSError: libsodium.so.23: cannot open shared object file: No such file or directory


details


thankyou for your help

咸蛋超人
  • 45
  • 1
  • 6

2 Answers2

3

You need to install libsodium-dev Try running "apt-get install libsodium-dev"

Sino Ling
  • 31
  • 3
1

If you've compiled libsodium, make sure libsodium is in the linker cache:

ldconfig -p | grep libsodium

If there is no output, chances are that the linker cache is not updated in time.

You can update the cache by:

sudo ldconfig
SedriX
  • 500
  • 3
  • 10