Skip to content

Commit

Permalink
docs: add a note for mac os build
Browse files Browse the repository at this point in the history
  • Loading branch information
zmstone committed May 22, 2024
1 parent 504b771 commit dcf6914
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,14 @@ new version of this library.
[4]: https://valgrind.org/
[5]: https://stedolan.github.io/jq/manual/v1.6
[6]: https://www.erlang.org/doc/man/erlang.html#load_nif-2

## Mac OS

If you faile to build on Apple Silicon (ARM64) with below error:

```
Undefined symbols for architecture arm64:
"_enif_alloc", referenced from:
```

Try clear the LDFLAGS variable with `unset LDFLAGS`.

0 comments on commit dcf6914

Please sign in to comment.