macos - brew doctor - 如何修复这些警告以及它们的含义

标签 macos homebrew brew-doctor

当我跑 brew doctor在我的 Mac 上,我收到以下警告:

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/libntfs-3g.80.dylib
    /usr/local/lib/libntfs.9.0.0.dylib
    /usr/local/lib/libublio.1.dylib

Warning: Unbrewed .la files 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 .la files:
    /usr/local/lib/libntfs-3g.la
    /usr/local/lib/libntfs.la
    /usr/local/lib/libublio.la

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

Unexpected .pc files:
    /usr/local/lib/pkgconfig/fuse.pc
    /usr/local/lib/pkgconfig/libntfs-3g.pc
    /usr/local/lib/pkgconfig/libublio.pc

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/libntfs-3g.a
    /usr/local/lib/libntfs.a
    /usr/local/lib/libublio.a

Warning: You have uncommitted modifications to Homebrew
If this a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
    cd /usr/local/Library && git stash && git clean -d -f

我可以从上面的 3 个警告中看出其中一些与我在没有使用 Homebrew 的情况下安装的 NTFS-3g 和 libfuse 相关,但除此之外我不知道如何修复它们。

我应该担心这些警告吗?此外,关于对 Homebrew 安装所做更改的最后警告也让我担心,因为我没有进行任何更改。

我应该如何解决这些警告?

最佳答案

首先,这些只是警告,所以如果没有任何问题,最好什么都不做。

如果您不再需要 ntfs-3g 和 fuse,只需删除这些文件即可。您也可以考虑使用 brew 重新安装这些。然后。

要检查 Homebrew 结帐中的修改内容,请执行

cd /usr/local/Library
git diff

关于macos - brew doctor - 如何修复这些警告以及它们的含义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20842984/

相关文章:

OS X Yosemite 升级后,Postgresql 服务器将无法启动, Homebrew 软件

macos - 更改 OS X 中目录的所有权

macos - brew install postgresql(升级)错误,无法链接 - 死链接到不存在的旧版本

homebrew - 在/usr/local/include 中找到未编译的头文件

python - 删除与 Brew 安装位置不同的 Python 框架文件的最安全方法是什么

升级后的西类牙语 Git

Android 在 OSX 10.8.5 上构建错误 : cp: the -R and -r options may not be specified together

macos - 在哪里放置 node.js 安装的 Node 文件夹?

crash - Homebrew doctor 崩溃

OSX 10.5.8 上 Netbeans 6.8 的 Java 设置以优化 cpu 使用