本文介绍了Graphviz和Brew医生-意外的dylibs错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Just did a brew install graphviz on Mountain Lion which gave me this error

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

Thought I'd just uninstall it, so ran brew uninstall graphviz but got

然后以为我会尝试brew doctor,但这会给我这个错误:

Then thought I'd try brew doctor, but it gives me this error:

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

有什么办法解决这个问题吗?

Any ideas how to fix this?

推荐答案

尝试运行以下命令:

brew install libtool

然后尝试重新安装graphviz.

Then try reinstalling graphviz.

然后检查一下: xlib-当在Mac OS X-10-8-山狮上建立graphviz时,h尚未找到

这篇关于Graphviz和Brew医生-意外的dylibs错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 04:25