Graphviz and Brew doctor - Unexpected dylibs error

落花浮王杯 提交于 2019-12-06 06:01:03

问题


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

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

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

Error: No such keg: /usr/local/Cellar/graphviz

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?


回答1:


Try running these:

brew install libtool

Then try reinstalling graphviz.

And then check this out: xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion



来源:https://stackoverflow.com/questions/12123751/graphviz-and-brew-doctor-unexpected-dylibs-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!