2

ターミナルで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/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 
4

2 に答える 2

5

まあ、brew を使わずに libjansson と libusb ツールを自分でインストールしたように思えます。

それ以外は、その指示に従い、次のコマンドを実行します...

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

フラグを追加するように求められる場合が--overwriteあります。フラグを追加することで、最初にどのようなアクションが実行されるかを確認でき--dry-runます。

于 2013-05-26T14:20:39.953 に答える
1

この回答を確認してください。古いインストールの残りのファイルを削除できることがわかります。Brew エラーを修正するにはどうすればよいですか

于 2013-09-06T14:11:39.407 に答える