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

M1 support not found #87

Closed
pcarrier opened this issue Jun 17, 2021 · 1 comment
Closed

M1 support not found #87

pcarrier opened this issue Jun 17, 2021 · 1 comment

Comments

@pcarrier
Copy link

Using argon2 2.10.1 with an aarch64 JVM on Darwin:

java.lang.UnsatisfiedLinkError: /Users/pcarrier/Library/Caches/JNA/temp/jna6498604676426745355.tmp: dlopen(/Users/pcarrier/Library/Caches/JNA/temp/jna6498604676426745355.tmp, 1): no suitable image found.  Did find:
	/Users/pcarrier/Library/Caches/JNA/temp/jna6498604676426745355.tmp: no matching architecture in universal wrapper
	/Users/pcarrier/Library/Caches/JNA/temp/jna6498604676426745355.tmp: stat() failed with errno=20

With a breakpoint I could confirm the missing architecture:

$ file jna6498604676426745355.tmp
jna6498604676426745355.tmp: Mach-O universal binary with 2 architectures: [i386:Mach-O dynamically linked shared library i386] [x86_64:Mach-O 64-bit dynamically linked shared library x86_64]
jna6498604676426745355.tmp (for architecture i386):	Mach-O dynamically linked shared library i386
jna6498604676426745355.tmp (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64
@pcarrier
Copy link
Author

Had to update JNA from 5.6.0 to 5.8.0.

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