Homebrew: Unable to load dynamic library ‘/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so’ – dlopen(/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so, 9): Library not loaded: /usr/local/lib/libMagickWand-6.Q16.1.dylib
Referenced from: /usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so
Reason: image not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so’ – dlopen(/usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so, 9): Library not loaded: /usr/local/lib/libMagickWand-6.Q16.1.dylib
Referenced from: /usr/local/Cellar/php55-imagick/3.1.0RC2/imagick.so
Reason: image not found in Unknown on line 0


brew reinstall php55-imagick

https://github.com/Homebrew/homebrew-php/issues/473
http://justinhileman.info/article/reinstalling-php-on-mac-os-x/