# brew doctor 로 발견된 warning 해결하기
brew doctor
#####
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences.
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.2.
# 해결방법
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
#####
Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
python@2
ccze
erlang@19
spdylay
boost-python
# 해결방법
brew uninstall --ignore-dependencies python@2 ccze erlang@19 spdylay boost-python
#####
Warning: You have the following deprecated, cask taps tapped:
caskroom/versions
Untap them with `brew untap`.
# 해결방법
brew untap caskroom/versions
#####
Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
cronolog
delta
dosbox
gcal
glide
ilmbase
lua@5.1
octant
sdl_net
sdl_sound
sshfs
xml2
# 해결방법
brew uninstall --ignore-dependencies cronolog delta dosbox gcal glide ilmbase lua@5.1 octant sdl_net sdl_sound sshfs xml2
#####
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/libDSToolkitV30-v3.4.2.20.dylib
/usr/local/lib/libevent-1.4.2.1.3.dylib
/usr/local/lib/libevent_core-1.4.2.1.3.dylib
/usr/local/lib/libevent_extra-1.4.2.1.3.dylib
/usr/local/lib/libldap.dylib
# 해결방법
rm -rf /usr/local/lib/libDSToolkitV30-v3.4.2.20.dylib
rm -rf /usr/local/lib/libevent-1.4.2.1.3.dylib
rm -rf /usr/local/lib/libevent_core-1.4.2.1.3.dylib
rm -rf /usr/local/lib/libevent_extra-1.4.2.1.3.dylib
rm -rf /usr/local/lib/libldap.dylib
#####
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/evdns.h
/usr/local/include/event-config.h
/usr/local/include/event.h
/usr/local/include/evhttp.h
/usr/local/include/evrpc.h
/usr/local/include/evutil.h
/usr/local/include/memcached/protocol_binary.h
/usr/local/include/python3.7m/greenlet/greenlet.h
# 해결방법
rm -rf /usr/local/include/evdns.h
rm -rf /usr/local/include/event-config.h
rm -rf /usr/local/include/event.h
rm -rf /usr/local/include/evhttp.h
rm -rf /usr/local/include/evrpc.h
rm -rf /usr/local/include/evutil.h
rm -rf /usr/local/include/memcached/protocol_binary.h
rm -rf /usr/local/include/python3.7m/greenlet/greenlet.h
#####
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/libevent.la
/usr/local/lib/libevent_core.la
/usr/local/lib/libevent_extra.la
# 해결방법
rm -rf /usr/local/lib/libevent.la
rm -rf /usr/local/lib/libevent_core.la
rm -rf /usr/local/lib/libevent_extra.la
#####
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:
/usr/local/lib/libevent.a
/usr/local/lib/libevent_core.a
/usr/local/lib/libevent_extra.a
# 해결방법
rm -rf /usr/local/lib/libevent.la
rm -rf /usr/local/lib/libevent_core.la
rm -rf /usr/local/lib/libevent_extra.la
#####
Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
python-certifi
midnight-commander
docker-credential-helper-ecr
docker
thefuck
pygments
docutils
redis
python-tabulate
numpy
macvim
tcl-tk
pyyaml
python-typing-extensions
libevent
six
black
wireshark
# 해결방법
brew link --overwrite python-certifi midnight-commander docker-credential-helper-ecr docker thefuck pygments docutils redis python-tabulate numpy macvim tcl-tk pyyaml python-typing-extensions libevent six black wireshark