Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
OrganizationAdvent CalendarQiitadon (β)
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

Homebrewで「Warning: Unbrewed static libraries were found in /usr/local/lib. ・・・」とエラーが出た際の解消法

More than 1 year has passed since last update.


PC : mac
OS : macOS Mojava バージョン10.14.4
Homebrew : バージョン 2.1.6

2. エラーが出るコマンドの例

brew doctor

※ その他にもエラーの出るコマンドはあるかもしれません。そこまで確認出来ていません。ごめんなさい。

3. エラーの出力部分

$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Unbrewed static libraries 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 static libraries:

4. 解決策

1. ターミナルを起動

2. ターミナルに以下のコマンドを入力

$ rm -rf /usr/local/lib/libtclstub8.6.a
$ rm -rf /usr/local/lib/libtkstub8.6.a

5. 参考文献

TASK NOTES | 【Homebrew】brew doctorのWarning対処方法 (その3) + envコマンドについて

2020/04から大学院生です。 大学では、pythonを用いたデータ解析や機械学習を行っています。 趣味でWEB制作とかしています。 データサイエンティストを目指し就活をしています。最終的な博士号取得を目指し、社会人ドクターや就職後の大学院への入学を視野に入れています。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away