匿名用户 提问于 2015-12-21
Traceback (most recent call last):
File "server.py", line 190, in <module>
main()
File "server.py", line 38, in main
config = shell.get_config(False)
File "/root/shadowsocks/shadowsocks/../shadowsocks/shell.py", line 280, in get_config
check_config(config, is_local)
File "/root/shadowsocks/shadowsocks/../shadowsocks/shell.py", line 130, in check_config
encrypt.try_cipher(config['password'], config['method'])
File "/root/shadowsocks/shadowsocks/../shadowsocks/encrypt.py", line 44, in try_cipher
Encryptor(key, method)
File "/root/shadowsocks/shadowsocks/../shadowsocks/encrypt.py", line 87, in __init__
random_string(self._method_info[1]))
File "/root/shadowsocks/shadowsocks/../shadowsocks/encrypt.py", line 114, in get_cipher
return m[2](method, key, iv, op)
File "/root/shadowsocks/shadowsocks/../shadowsocks/crypto/sodium.py", line 62, in __init__
load_libsodium()
File "/root/shadowsocks/shadowsocks/../shadowsocks/crypto/sodium.py", line 40, in load_libsodium
'libsodium')
File "/root/shadowsocks/shadowsocks/../shadowsocks/crypto/util.py", line 83, in find_library
lib = CDLL(path)
File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libsodium.so.13: cannot open shared object file: No such file or directory
能提供一下解决的方法吗?

1 答案

发布
管理员 2015-12-21

ldconfig 试试?

#1

请登录或者 注册 来提交答案