Resolving pyenv — ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

> mkdir ~/libssl1.0-dev
> cd ~/libssl1.0-dev
> apt-get download libssl1.0-dev
> ar x libssl1.0-dev_1.0.2l-2+deb9u3_amd64.deb data.tar.xz
> tar -xf data.tar.xz --strip-components=2
> rm data.tar.xz
> ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2 ~/libssl1.0-dev/lib/x86_64-linux-gnu> ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 ~/libssl1.0-dev/lib/x86_64-linux-gnu

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store