LoginSignup
11

More than 5 years have passed since last update.

mojaveアップデート後にconfigure: error: Cannot find libz が解決されない問題の解決法

Posted at

mojaveアップデート後に configure: error: Cannot find libz が出る問題。
通常ならxcode-select --installで解決される。

が、

configure: error: Cannot find libz

brew upgrade しても

configure: error: Cannot find libz

解決法

$ installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /

多分mojaveだけで起こるっぽい。

[参考]python and python@2 can build on Mac 10.14, but zlib is not found, which breaks pip

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11