homebrew 安装问题

查看:347
本文介绍了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之后,个人建议是。。。完全不用去理会。

这篇关于homebrew 安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆