Brew Doctorの次の警告を解決するには?

Brew Doctorの次の警告を解決するには?

MacOS シエラ 10.12.2

最近、次の問題が発生しました。

Warning: Unbrewed .la files 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 .la files:
  /usr/local/lib/psqlodbcw.la

私は次のようなさまざまなアプローチを試しました。

brew unlink postgresql && brew link postgresql
brew link --overwrite postgresql

しかし、これは警告を削除しないようです。

何か助けてくれてありがとう

ベストアンサー1

Homebrewを介してPostgreSQLをインストールし、他のPostgreSQLを並列にインストールしたくない場合。次の方法を使用してファイルを安全に削除できます。

rm /usr/local/lib/psqlodbcw.la

これにより警告が消えます。

おすすめ記事