Jat*_*tra 9 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
Run Code Online (Sandbox Code Playgroud)
我可以从上面的3个警告中得出结论,其中一些与我在不使用Homebrew时安装的NTFS-3g和libfuse相关,但除此之外我不知道如何修复它们.
我应该担心这些警告吗?此外,关于Homebrew安装更改的最后警告也让我担心,因为我没有做任何更改.
我该如何解决这些警告?
首先,这些只是警告,因此如果没有任何问题,最好什么也不做。
如果您不再需要 ntfs-3g 和 fusion,只需删除这些文件即可。您也可以考虑稍后使用重新安装它们brew。
要检查 Homebrew 结帐中修改的内容,请执行以下操作
cd /usr/local/Library
git diff
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6179 次 |
| 最近记录: |