When installing ss from pip repository on current Ubuntu GNU/Linux (18.x - 19.x), an error with OpenSSL symbol occurs:
AttributeError: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: undefined symbol: EVP_CIPHER_CTX_cleanup
- Clone this repository and enter it's directory using
git clone https://github.com/AltcoinBaggins/shadowsox-patch ; cd shadowsox-patch - Run
make install
- Clone the repository and enter inside the directory (step 1. above)
- Install Python3 and shadowsocks:
apt-get install python3 ; apt-get install python3-pip ; pip3 install shadowsocks - Patch the crypto/openssl.py file in shadowsocks source
patch /usr/local/lib/python3.6/dist-packages/shadowsocks/crypto/openssl.py ssl-symbol.patchreplacingpython3.6with your Python3 version, or runmake patchto patch the file automatically