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

Mac m1 support #29

Open
Nickjgniklu opened this issue May 16, 2023 · 0 comments
Open

Mac m1 support #29

Nickjgniklu opened this issue May 16, 2023 · 0 comments

Comments

@Nickjgniklu
Copy link

Getting and error like this on Mac M1

[warning] The on_load function for module prometheus_process_collector returned:
{:error,
 {:load_failed,
  'Failed to load NIF library: 
...
prometheus_process_collector.so\' (mach-o file, but is an incompatible architecture (have \'x86_64\', need \'arm64\'))\''}}

I was able to build this library with rebar3 on my M1 and copy and pasted it over the Mac x86_64 files in my elixir project to test if it works at all. It appears to work.

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