Skip to content

Mac m1 support #29

@Nickjgniklu

Description

@Nickjgniklu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions