Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initenv.sh on MacOS fails (crypt_r build error) #520

Open
feld opened this issue Mar 12, 2025 · 1 comment
Open

initenv.sh on MacOS fails (crypt_r build error) #520

feld opened this issue Mar 12, 2025 · 1 comment

Comments

@feld
Copy link
Collaborator

feld commented Mar 12, 2025

MacOS no longer ships a libcrypt as required by crypt_r, so you need to install one. If you use Brew this will work:

brew install libxcrypt
env LDFLAGS="-L$(brew --prefix libxcrypt)/lib" CFLAGS="-I$(brew --prefix libxcrypt)/include" ./scripts/initenv.sh

Now you have a working venv for doing the cmdeploy.

@adbenitez
Copy link
Contributor

We should probably try to switch to Python standard lib, crypt_r is deprecated legacy lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants