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

symbol not found in flat namespace '___gmpz_add' Error in version 2.3.2 #94

Closed
wistoff opened this issue May 8, 2024 · 2 comments
Closed

Comments

@wistoff
Copy link

wistoff commented May 8, 2024

from fastecdsa import _ecdsa
ImportError: dlopen(/Users/kjellxvx/opt/anaconda3/envs/myenv/lib/python3.8/site-packages/fastecdsa/_ecdsa.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '___gmpz_add'

I get this error on my Silicon Mac... None of the suggested solution in the other issues helped. This error does occur since version 2.3.2, the lastest update.

Installing the previous version fixes the issue.

pip3 install fastecdsa==2.3.1

@AntonKueltz
Copy link
Owner

Version 2.3.1 was yanked and should not be used because the C extensions were not correctly built. See the pypi release page for reference. Is GMP installed on your machine (brew install gmp)?

@AntonKueltz
Copy link
Owner

Looks like the same issue as this comment. Closing this issue, please use the linked issue to discuss further. Also, in the future please provide a full trace and code snippet that raised the error, that helps with root causing. Thanks.

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

2 participants