Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graphviz and Brew doctor - Unexpected dylibs error

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?

like image 716
rassom Avatar asked Jan 16 '23 17:01

rassom


1 Answers

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

like image 123
iGallina Avatar answered Feb 14 '23 06:02

iGallina