不能跑啤酒医生,它发出警告

时间:2013-05-26 14:09:21

标签: terminal install homebrew

我试图在终端上运行brew医生,但是当我这样做时,它告诉我一些警告......我粘贴它:

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/libjansson.4.dylib
    /usr/local/lib/libusb-1.0.0.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/libjansson.la

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/libjansson.a
    /usr/local/lib/libusb-1.0.a

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:

    jansson
    libidn
    libtool
    libusb 

2 个答案:

答案 0 :(得分:5)

好吧,听起来好像你自己已经安装了libjansson和libusb工具,而不使用brew。

除此之外,按照它的说明操作,并运行以下命令......

brew link jansson
brew link libidn
brew link libtool
brew link libusb

它可能会要求您添加--overwrite标记,您可以先通过添加--dry-run标记来检查将采取的操作。

答案 1 :(得分:1)

检查此答案,它表示可以删除旧安装的残留文件。 How do I fix Brew errors