Graphviz的和Brew医生 - 意外dylibs错误(Graphviz and Brew do

2019-07-31 04:30发布

只是做了brew install graphviz在山狮这给了我这个错误

错误:无法执行:使安装(graphviz.rb:47)

以为我只是卸载它,所以跑brew uninstall graphviz ,但得到

错误:没有这样的小桶:在/ usr /本地/库/ graphviz的

然后想我会尝试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/libcdt.5.dylib    /usr/local/lib/libcgraph.6.dylib    /usr/local/lib/libgvc.6.dylib    /usr/local/lib/libgvpr.2.dylib    /usr/local/lib/libpathplan.4.dylib    /usr/local/lib/libxdot.4.dylib
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/libcdt.pc    /usr/local/lib/pkgconfig/libcgraph.pc    /usr/local/lib/pkgconfig/libgvc.pc    /usr/local/lib/pkgconfig/libgvpr.pc    /usr/local/lib/pkgconfig/libpathplan.pc    /usr/local/lib/pkgconfig/libxdot.pc

任何想法如何解决这一问题?

Answer 1:

试试下面:

brew install libtool

然后尝试重新安装graphviz的。

然后检查了这一点: Xlib的-H未找到,当建设-的graphviz-ON-MAC-OS-X-10-8-山狮



文章来源: Graphviz and Brew doctor - Unexpected dylibs error