概要
Fedora26でpyenvを使ってPython3.3系をインストールしようとしたら失敗した。
エラーメッセージ
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
解決策
dnf remove openssl-devel
dnf install compat-openssl10-devel
補足
エラーメッセージに一応解決策が書かれていたが、
Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems
上記のサイトに書かれている解決策を試してもできなかったので、調べて本記事を投稿
参考サイト
I found a solution to my problem. (Fedora 26)
Uninstall:
$ dnf remove openssl-develInstall:
$ dnf install compat-openssl10-devel