Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error AttributeError: dlsym(0x7faacb42bc20, ECDH_OpenSSL): symbol not found #5

Open
avanish-appdirect opened this issue Jul 21, 2021 · 0 comments

Comments

@avanish-appdirect
Copy link

avanish-appdirect commented Jul 21, 2021

Environment
macOS : 10.15.7
python: 3.9
pip: 21.1.3

I get following error when I'm trying to from solidwebpush import Pusher.

Error

Python 3.9.6 (default, Jun 29 2021, 06:20:32) 
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from solidwebpush import Pusher
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/test/Desktop/test/test-web-push-env/lib/python3.9/site-packages/solidwebpush/__init__.py", line 20, in <module>
    import http_ece
  File "/Users/test/Desktop/test/test-web-push-env/lib/python3.9/site-packages/http_ece/__init__.py", line 12, in <module>
    from pyelliptic import ecc
  File "/Users/test/Desktop/test/test-web-push-env/lib/python3.9/site-packages/pyelliptic/__init__.py", line 43, in <module>
    from .openssl import OpenSSL
  File "/Users/test/Desktop/test/test-web-push-env/lib/python3.9/site-packages/pyelliptic/openssl.py", line 528, in <module>
    OpenSSL = _OpenSSL(libname)
  File "/Users/test/Desktop/test/test-web-push-env/lib/python3.9/site-packages/pyelliptic/openssl.py", line 180, in __init__
    self.ECDH_OpenSSL = self._lib.ECDH_OpenSSL
  File "/usr/local/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 387, in __getattr__
    func = self.__getitem__(name)
  File "/usr/local/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(0x7faacb42bc20, ECDH_OpenSSL): symbol not found

Pip Freeze:

certifi==2021.5.30
cffi==1.14.6
chardet==3.0.4
cryptography==3.4.7
ecdsa==0.13
future==0.18.2
http-ece==0.7.0
idna==2.7
py-vapid==0.7.1
pycparser==2.20
pycrypto==2.6.1
pyelliptic==1.5.7
python-jose==0.6.1
requests==2.20.0
six==1.16.0
solidwebpush==1.2.3
urllib3==1.24.3

Also it looks like pyelliptic is deprecated so why are we using this lib?

Can anyone please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant