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

标签 graphviz homebrew

刚刚做了一个 brew install graphviz在给我这个错误的 Mountain Lion 上

Error: Failed executing: make install (graphviz.rb:47)



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

Error: No such keg: /usr/local/Cellar/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

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

最佳答案

尝试运行这些:

brew install libtool

然后尝试重新安装graphviz。

然后检查一下:
xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion

关于Graphviz 和 Brew 医生 - 意外的 dylibs 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12123751/

相关文章:

postgresql - 如何为通过 Homebrew 软件安装的 Postgresql 安装 Trigram 模块?

graph - 边用 Graphviz 和 Dot 指向边

c++ - 在 boost 中从 graphviz 读取的问题

graphviz - 如何在Graphviz中添加边缘标签?

graphviz - 优化Graphviz中的标签位置

python - 当命令 `Brew install python@2` 然后错误 - `Theme error`。如何解决?

Git https 访问在 MacOS Sierra/SSL 钥匙串(keychain)错误上中断

macos -/usr/local/bin 和/usr/local/share 的权限问题

homebrew - 如何在maven和maven30之间切换?

doxygen - 如何为点图添加顶部和底部标签?