[macOS] Cannot find libz when install php56

After upgraded to 10.12 and xcode8.2, when updating php with homebrew, i got these errors:

/usr/local/bin/phpize: line 61: /usr/local/Library/ENV/4.3/sed: No such file or directory

one way of solution you can find here, https://github.com/Homebrew/homebrew-php/issues/3352

but, for me, follow this step i resolve it. just run:

xcode-select --install


Have fun with macOS!

posted @ 2017-01-11 14:39 DavidHHuan 阅读(...) 评论(...) 编辑 收藏