Skip to content

Instantly share code, notes, and snippets.

@cloudnull
Created July 7, 2024 15:25
Show Gist options
  • Save cloudnull/1816a3cabe0851803cf9f3c005d2bce9 to your computer and use it in GitHub Desktop.
Save cloudnull/1816a3cabe0851803cf9f3c005d2bce9 to your computer and use it in GitHub Desktop.
Install openstack keystone on OSX
# This simple setup fixes the following error on MacOS.
#
# scrypt-1.2.1/libcperciva/crypto/crypto_aes.c:6:10: fatal error: 'openssl/aes.h' file not found
# #include <openssl/aes.h>
# ^~~~~~~~~~~~~~~
# 1 error generated.
# error: command '/usr/bin/clang' failed with exit code 1
# [end of output]
#
# note: This error originates from a subprocess, and is likely not a problem with pip.
# ERROR: Failed building wheel for scrypt
export CFLAGS="-I$(brew --prefix openssl)/include"
export LDFLAGS="-L$(brew --prefix openssl)/lib"
pip install cryptography --force-reinstall
pip install git+https://github.com/openstack/keystone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment