chatmail / chatmail/relay

initenv.sh on MacOS fails (crypt_r build error)

Open
#520 5 comments 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
484
Forks
64
Avg merge
4h 32m
Merged PRs (30d)
11

Description

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

```shell
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.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the macOS failure with scripts/initenv.sh and read how it builds the Python environment for cmdeploy. Check whether the issue calls for changing the script or documenting the libxcrypt and Homebrew prerequisite; done means a macOS environment initializes successfully without the crypt_r build error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.