首页 > homebrew 安装问题

homebrew 安装问题

安装houmebrew 后 执行brew doctor 报一下警告,有什么问题吗

    Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libecomlodr.dylib
    /usr/local/lib/libsymsea.1.1.0.dylib

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
    /usr/local/lib/libappfirewall.a
    /usr/local/lib/libautoblock.a
    /usr/local/lib/libautosetup.a
    /usr/local/lib/libconnectionsclient.a
    /usr/local/lib/liblocationawareness.a
    /usr/local/lib/libpersonalfirewall.a
    /usr/local/lib/libtrustedcomponents.a

/usr/local/lib/ 是brew安装依赖库的存储目录,默认情况下Mac os x是没有这个目录的。

brew在下载了新的安装包之后,存放在/usr/local/Cellar/下面,然后在/usr/local/lib创建软链接。

你这里的问题就是因为已经存在了/usr/local/lib目录,并且里面的文件与将来brew存放的有冲突,他会覆盖你之前存放在里面的静态链接文件。可能会导致问题,先提前跟你Warning一下。

然后看了Unexpected static libraries之后,个人建议是。。。完全不用去理会。

【热门文章】
【热门文章】