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
SHA1_init missing when using PyInstaller on OSX #281
Comments
I'm getting the same error on OS X Catalina with pycryptodomeex (3.9.0), is any progress made (I cannot find the pyinstaller-bump branch?) |
The same here with SHA256_init |
Have the same issue. I can find the symbol _SHA256_init (with underscore) in Crypto/Hash/_SHA256.cpython-37m-darwin.so
On my linux box I have there names without underscore:
|
I don't have a mac to investigate the issue in detail right now. I understand that - unlike in Linux - the compiler on OSX will prepend an underscore to all C symbols: the On the other hand, |
is there a workaround to this issue?
|
Re-igniting an old issue. The above hook did not work in my situation, switching to pycryptodomex rather than pycryptodome does seem to resolve the issue for me. I'm unsure why and I find myself caring less than I probably should.. Then changing imports from: from Crypto.x to from Pycrypto.x May be a fluke but works in my situation. |
I am having no issues using pycryptodome or pycryptodomex 3.9.7 on my spouse's Mac which is running High Sierra. Cannot test on Catalina because Apple won't allow her 10-year-old Mac to upgrade. Thank you, Apple! This issue sounds like something to be taken up with pyinstaller. |
In my case, I used python 3.8 and got below error after running pyinstaller created MACOS application. AttributeError: dlsym(0x7fb38d73d410, SHA1_init): symbol not found Created new conda env with python 3.7. This issue did not occur. |
The issue here is that .so loading code (both ctypes/cffi) is finding hashlib's .so first which obviously does not have _SHA1_Init & co exports. |
same issue after running Pyinstaller with |
Hello everyone, I have the same issue with the Here is the full trace bubbling from
Tell me if I can help in any way and have a good evening (or night, or day, pick your favorite one :) ). |
Hi guys, do you have any quickfix for this issue? It seems to be fixed in pyinstaller future version (pyinstaller/pyinstaller#5583) but not yet available. |
same problem(I'm using Mac M1 and python3.10)
|
When running the executable generated by PyInstaller, I get the following error message. This only happens on OSX, is it possible that a certain dynamically linked library is not picked up?
The text was updated successfully, but these errors were encountered: