-
Notifications
You must be signed in to change notification settings - Fork 51
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
Lazy Sodium on an M1 mac is not able to load libsodium properly #110
Comments
I think I am running into the same error. If it's of any use:
|
@gurpreet- Could you release a new version, so Lazysodium will officially support M1? |
+1 for this. Would appreciate it as we have come across this issue using the library on an M1 mac. |
Release 5.1.0 contains the new M1 enabled binary. Bonus: Libsodium has been upgraded to If any of you has an M1 mac could you please test this 5.1.0? |
Just upgraded to
I can test on M1 later today if I can get the Windows version working! |
I can confirm, that e0c49d6 breaks the windows version. |
Tested e0c49d6 on the following systems:
Edit: I compiled the latest https://github.com/jedisct1/libsodium/tree/stable branch of libsodium on Windows 10 x64 myself. The dll unfortunately does not run under Lazysodium either. Is it possible that a new API or similar has been added? |
@gurpreet- Maybe #111 does fix the problem. |
Hey @KevinRoebert, Libsodium does indeed publish its stable Windows binaries directly here https://download.libsodium.org/libsodium/releases/. I have downloaded the binaries again and committed them into Lazysodium. Are you able to test either the latest master branch? Or you can test via the snapshot |
The master branch does work under Windows 10 x64. But I would still suggest that the same library versions should be used for the tests and the actual wrapper. Otherwise, the tests will run, but the production code will not. For this purpose, I have created the MR #112. |
Thank you for the PR @KevinRoebert. I've merged it 😄 I've just released version 5.1.1. Everything should work in there. |
Tested on the following systems:
|
When attempting to use lazysodium-java on an M1 mac (running MacOS Big Sur), the loading of the library within the jar file is resulting in the following error:
It looks like a recent checkin was made to handle that. Is there any chance of cutting a new release or patch that would work the the M1 mac?
The text was updated successfully, but these errors were encountered: