When I try to install a library with homebrew (brew install aLibrary), I got the following error:
brew install aLibrary
Could not symlink lib/pkgconfig/a
Use the following.
$ brew doctor
message will display error links to prune. If any found, run next option.
$ brew prune
once these are removed, proceed to link them agian
$ brew link python