Skip to content

Additional Installation Steps for Apple Silicon

Tak edited this page Jun 25, 2024 · 1 revision

If you're working on a Mac with an Apple Silicon chip rather than an intel chip (if executing uname -m in your terminal returns arm64 then your mac has a Silicon chip) then you will need to perform a few additional steps to get Athena working on your machine. If you don't, you may end up with an error like the following when you finish the standard installation instructions:

Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib

This is because Athena's build for Unix & OSX targets x86_64. You therefore need to leverage Rosetta to run Athena locally in such a way that Rosetta translates x86_64 machine code to arm64.

These instructions assume you're using the default shell shipped with Apple computers: zsh. If you're using a different shell, just replace zsh-specific references with your shell of choice.

Steps

  1. Make sure Rosetta is installed: software update install rosetta
  2. Install x86_64 Homebrew: arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  3. Install gmp for x86_64 using the correct Homebrew installation: arch -x86_64 /usr/local/bin/brew install gmp

You should now be able to successfully launch the Athena environment using: arch -x86_64 athena. For convenience, you can make an alias like so: alias ath="arch -x86_64 athena"

Clone this wiki locally