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

No m1 arm mac build #11

Open
samal-rasmussen opened this issue Jul 31, 2023 · 0 comments
Open

No m1 arm mac build #11

samal-rasmussen opened this issue Jul 31, 2023 · 0 comments

Comments

@samal-rasmussen
Copy link

I'm importing the ffi version directly from the pr like this:
import * as argon2 from "https://raw.githubusercontent.com/cake-monotone/deno-argon2/c80140ec0e56fc3a0a8850c574be73d9da42b9d2/lib/mod.ts";

Unfortunately there doesn't seem to be an arm build for my m1 mac:

Downloading https://github.com/fdionisi/deno-argon2/releases/download/v0.9.2/libdeno_argon2.dylib
error: Uncaught Error: Could not open library: Could not open library: dlopen(/Users/<snip>/Library/Caches/deno/plug/https/github.com/ab9c061ef1426ad8d75f283f800f22f2c18115a51c7ca013400f8a29fae2a012.dylib, 0x0005): tried: '/Users/<snip>/Library/Caches/deno/plug/https/github.com/ab9c061ef1426ad8d75f283f800f22f2c18115a51c7ca013400f8a29fae2a012.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/<snip>/Library/Caches/deno/plug/https/github.com/ab9c061ef1426ad8d75f283f800f22f2c18115a51c7ca013400f8a29fae2a012.dylib' (no such file), '/Users/<snip>/Library/Caches/deno/plug/https/github.com/ab9c061ef1426ad8d75f283f800f22f2c18115a51c7ca013400f8a29fae2a012.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
  return Deno.dlopen(await download(options), symbols);
...
 at async https://raw.githubusercontent.com/cake-monotone/deno-argon2/c80140ec0e56fc3a0a8850c574be73d9da42b9d2/lib/internal.ts:36:13

Specifically this part of the error: mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')

@samal-rasmussen samal-rasmussen changed the title No arm mac build No m1 arm mac build Jul 31, 2023
felix-schindler added a commit to felix-schindler/deno-argon2 that referenced this issue Aug 3, 2023
This should close all the issues in fdionisi/deno-argon2. Closes fdionisi#7, fdionisi#10 and fdionisi#11
felix-schindler added a commit to felix-schindler/deno-argon2 that referenced this issue Aug 3, 2023
This should close all the issues in fdionisi/deno-argon2. Closes fdionisi#7, closes fdionisi#10 and closes fdionisi#11
felix-schindler added a commit to felix-schindler/deno-argon2 that referenced this issue Aug 3, 2023
This should close all the issues in fdionisi/deno-argon2.

Closes fdionisi#7, closes fdionisi#10 and closes fdionisi#11
felix-schindler added a commit to felix-schindler/deno-argon2 that referenced this issue Aug 3, 2023
This should close all the issues in fdionisi/deno-argon2.

Closes fdionisi#7, closes fdionisi#10 and closes fdionisi#11
felix-schindler added a commit to felix-schindler/deno-argon2 that referenced this issue Aug 3, 2023
This should close all the issues in fdionisi/deno-argon2.

Closes fdionisi#7, closes fdionisi#10 and closes fdionisi#11
felix-schindler added a commit to felix-schindler/deno-argon2 that referenced this issue Aug 3, 2023
This should close all the issues in fdionisi/deno-argon2.

Closes fdionisi#7, closes fdionisi#10 and closes fdionisi#11
felix-schindler added a commit to felix-schindler/deno-argon2 that referenced this issue Aug 3, 2023
This should close all the issues in fdionisi/deno-argon2.

Closes fdionisi#7, closes fdionisi#10 and closes fdionisi#11
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