読者です 読者をやめる 読者になる 読者になる

なんかの Log

良い感じで投げっぱなしにしてみせる。

brew doctor警告の備忘録

久しぶりにbrew doctorしたら警告でてたので(OSアップグレード時点で発生してたんだろうなぁ…)

1回目

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

適当に/usr/local/_lib/usr/local/_lib/_pkgconfigに警告ファイルを移動させた。

2回目

Warning: Broken symlinks were found. Remove them with `brew prune`:
  /usr/local/lib/libcdt.dylib
  /usr/local/lib/libcgraph.dylib
  /usr/local/lib/libgvc.dylib
  /usr/local/lib/libgvpr.dylib
  /usr/local/lib/libpathplan.dylib
  /usr/local/lib/libxdot.dylib

指示通りにコマンド実行

$ brew prune

解決。