Skip to content

Instantly share code, notes, and snippets.

@ntamvl
Last active February 21, 2024 11:12
Show Gist options
  • Save ntamvl/e98d6ccfdadcdc05a390cc1eecd44174 to your computer and use it in GitHub Desktop.
Save ntamvl/e98d6ccfdadcdc05a390cc1eecd44174 to your computer and use it in GitHub Desktop.
Fixed some errors when install amber on macOS

Fixed some errors when install amber on macOS

Install all required libraries for Crystal on macOS

xcode-select --install
brew install \
  bdw-gc \
  gmp \
  libevent \
  libxml2 \
  libyaml \
  llvm
brew link llvm --force

Install openssh

brew install openssl

Add this to my .zshrc (.bashrc or .bash_profile if you're using bash) after installing openssl with

export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig

Then run:

source ~/.bash_profile

OR 

source ~/.bashrc

OR 

source ~/.zshrc

Install amber

git clone [email protected]:amberframework/amber.git
cd amber
make
make install

and it worked great!

Refs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment