版权声明:随意转载,需注明出处。by think_ycx https://blog.csdn.net/think_ycx/article/details/88365883
问题:
由于openssl升级弃用了函数,导致ssserver开启失败。
由于在openssl1.1.0版本中,废弃了EVP_CIPHER_CTX_cleanup函数。
EVP_CIPHER_CTX_init() remains as an alias for EVP_CIPHER_CTX_reset().
部分日志:
AttributeError: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: undefined symbol: EVP_CIPHER_CTX_cleanup
解决方案:
sed -i 's/cleanup/reset/g' /usr/local/lib/python3.6/dist-packages/shadowsocks/crypto/openssl.py
参考:
https://blog.csdn.net/blackfrog_unique/article/details/60320737