gpt4 book ai didi

terminal - 无法运行 brew doctor,它会发出警告

转载 作者:行者123 更新时间:2023-12-04 16:41:25 32 4
gpt4 key购买 nike

我试图在终端上运行 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

最佳答案

嗯,听起来好像您自己安装了 libjansson 和 libusb 工具,而没有使用 brew。

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

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

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

关于terminal - 无法运行 brew doctor,它会发出警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16760052/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com