26

How do you fix this?

$ brew doctor
...
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built.

    imagemagick
    jasper
    libtiff
    little-cms
...
21

Like this, for each unlinked keg:

brew link imagemagick
  • 5
    What if I have removed those 'kegs' previously? Why are they still there? I don't want to 'link' them again, I want to get rid of them. – Peter Štibraný Jan 8 '13 at 21:30
  • 8
    brew cleanup will get rid of unused stuff – Adam Nelson Oct 25 '13 at 9:25
4
brew link --overwrite imagemagick

repeat it for each and it will solve the issue

4

i ran below command and the problem is gone...

"brew upgrade"

  • That worked for me too, good catch. – dsomnus Oct 20 '17 at 14:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .