Error: Some keg-only formula are linked into the Cellar. Linking a keg-only formula, such as gettext, into the cellar with `brew link f` will cause other formulae to detect them during the `./configure` step. This may cause problems when compiling those other formulae. Binaries provided by keg-only formulae may override system binaries with other strange results. You may wish to `brew unlink` these brews: readlineなんかbrew link fをみれば、どこに原因があるかわかるようなことを、お医者さんは言ってるが、わけわからん。
てことで、
最後の一行が一番重要だった。
$ brew unlink readlineでもう一度brew doctorするとエラーは消えました。
このやり方で正しかったのだろうか若干疑問ですが、エラーは消えました。笑