AttributeError: /lib64/libcrypto.so.10: undefined symbol: EVP_CIPHER_CTX_reset
Closed this issue · 3 comments
Checklist
- installed
pyethapp
inside a virtualenv
System/environment
- OS: Fedora 25
- python version: 2.7.13
- pyethapp version: 1.5.0? (where to check? "pip freeze" doesn't show version, can't launch pyethapp, or run "pyethapp --version", don't see in docs)
- installation method (pip & pypi/git & setup.py): git & pip install (from getting started guide)
- pyethapp branch: develop
Expected behaviour
$: pyethapp
-> should launch pyethapp
Observed behaviour
pyethapp won't launch
this appears to be a bug in the openssl library which may have been addressed in debian/ubuntu-based distros. Error output below:
Traceback (most recent call last):
File "/.../pyethapp/.venv/bin/pyethapp", line 11, in
load_entry_point('pyethapp', 'console_scripts', 'pyethapp')()
File "/.../pyethapp/.venv/lib/python2.7/site-packages/pkg_resources/init.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/.../pyethapp/.venv/lib/python2.7/site-packages/pkg_resources/init.py", line 2649, in load_entry_point
return ep.load()
File "/.../pyethapp/.venv/lib/python2.7/site-packages/pkg_resources/init.py", line 2303, in load
return self.resolve()
File "/.../pyethapp/.venv/lib/python2.7/site-packages/pkg_resources/init.py", line 2309, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/.../pyethapp/pyethapp/app.py", line 15, in
from devp2p.app import BaseApp
File "/.../pyethapp/.venv/lib/python2.7/site-packages/devp2p/app.py", line 8, in
from devp2p import crypto
File "/.../pyethapp/.venv/lib/python2.7/site-packages/devp2p/crypto.py", line 7, in
import pyelliptic
File "/.../pyethapp/.venv/lib/python2.7/site-packages/pyelliptic/init.py", line 43, in
from .openssl import OpenSSL
File "/.../pyethapp/.venv/lib/python2.7/site-packages/pyelliptic/openssl.py", line 310, in
OpenSSL = _OpenSSL(libname)
File "/.../pyethapp/.venv/lib/python2.7/site-packages/pyelliptic/openssl.py", line 144, in init
self.EVP_CIPHER_CTX_reset = self._lib.EVP_CIPHER_CTX_reset
File "/usr/lib64/python2.7/ctypes/init.py", line 370, in getattr
func = self.getitem(name)
File "/usr/lib64/python2.7/ctypes/init.py", line 375, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /lib64/libcrypto.so.10: undefined symbol: EVP_CIPHER_CTX_reset
Steps to reproduce
Install Fedora 25, follow getting started guide (also installing, where needed, gcc, python-devel, libevent-del, redhat-rpm-config, gcc-c++, and openssl-devel; not certain that all of these needed to be installed, or weren't stock) ,
finally, run pyethapp
Having the same problem...
running pip install pyelliptic==1.5.7
fixed this issue for me
excellent! thanks for the tip @cwirz