当我运行brew doctor
时,我会得到以下错误:
dyld: Library not loaded: /usr/lib/libltdl.7.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
Error: No available formula for zlib
我的 /usr/lib 目录中没有 libltdl.7.dylib
文件,但有其他几个 .dylib
文件。
我正在运行 10.8.1 版本,并安装了最新版本的 Xcode (4.4.1) 和它的 Command Line Tools。
有任何想法如何解决这些错误吗?