From 0f0a77e322074eb51cb7b4f8c726940242c2223d Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 22 Oct 2021 14:04:05 +0200 Subject: [PATCH] doc: Add M1 mac + homebrew fix The paths for this platform seem to be slightly different, so mention how they must be set. --- doc/INSTALL.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/INSTALL.md b/doc/INSTALL.md index 0d6505e24..0b078b10c 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -226,6 +226,11 @@ If you need SQLite (or get a SQLite mismatch build error): $ export LDFLAGS="-L/usr/local/opt/sqlite/lib" $ export CPPFLAGS="-I/usr/local/opt/sqlite/include" +Some library paths are different when using `homebrew` with M1 macs, therefore the following two variables need to be set for M1 machines + + $ export CPATH=/opt/homebrew/include + $ export LIBRARY_PATH=/opt/homebrew/lib + If you need Python 3.x for mako (or get a mako build error): $ brew install pyenv