OSX monterey -> ld: library not found for -lintl

When pipenv install uwsgi

This error comes, ld: library not found for -lintl

I guess it requires X-code library ?

I tried this as well

$xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

However it is already installed.

How can I solve this?

This https://github.com/unbit/uwsgi/issues/1364 post suggests to do:

brew update
brew unlink libxml2
brew uninstall libxml2

brew install --with-python libxml2
brew link libxml2 --force

(take care to have those one outside of any virtualenv it is mentioned) and then

pip install uwsgi
Back to Top