linux - Error: Missing the OpenSSL lib? while trying to install python in pyenv/ SUSE12 environment -
i have tried installing python in pyenv env, in getting below error. have added openssl path variable openssl available, still throwing same error.
also, tried separate user(not root). same error! , tried followup wiki page, opensuse can't find on google too.
can 1 guide me on how proceed further.
xxxxx@xxxxxxxxxxx:~/.pyenv> pyenv install 3.5.2 downloading python-3.5.2.tar.xz... -> https://www.python.org/ftp/python/3.5.2/python-3.5.2.tar.xz installing python-3.5.2... warning: python bz2 extension not compiled. missing bzip2 lib? warning: python readline extension not compiled. missing gnu readline lib? error: python ssl extension not compiled. missing openssl lib? please consult wiki page fix problem. https://github.com/yyuu/pyenv/wiki/common-build-problems build failed (sles 12.1 using python-build 20160726) inspect or clean working tree @ /tmp/python-build.20160801100205.31144 results logged /tmp/python-build.20160801100205.31144.log last 10 log lines: (cd /home/xxxxx/.pyenv/versions/3.5.2/share/man/man1; ln -s python3.5.1 python3.1) if test "xupgrade" != "xno" ; \ case upgrade in \ upgrade) ensurepip="--upgrade" ;; \ install|*) ensurepip="" ;; \ esac; \ ./python -e -m ensurepip \ $ensurepip --root=/ ; \ fi ignoring ensurepip failure: pip 8.1.1 requires ssl/tls
python makes use of underlying operating system libraries support of libraries, , appears don't have these libraries installed. on ubuntu should able install them with
$ sudo apt-get install bzip2 libreadline6 libreadline6-dev openssl
for suse 12, have pointed out, command required was
zypper -n install openssl libopenssl-devel
Comments
Post a Comment