kabel / homebrew-pecl

🐘🌐 PHP extension formulae from the pecl.php.net repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imagick bottle rebuild

glensc opened this issue · comments

I think imagick bottle needs to be rebuilt

➔ brew install imagemagick kabel/pecl/php@7.1-imagick
Warning: imagemagick 7.0.9-2 is already installed and up-to-date
To reinstall 7.0.9-2, run `brew reinstall imagemagick`
Warning: kabel/pecl/php@7.1-imagick 3.4.4 is already installed and up-to-date
To reinstall 3.4.4, run `brew reinstall php@7.1-imagick`

➔ php -m|grep imagick  -i
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/opt/php@7.1-imagick/lib/php/20160303/imagick.so' - dlopen(/usr/local/opt/php@7.1-imagick/lib/php/20160303/imagick.so, 9): Library not loaded: /usr/local/opt/imagemagick/lib/libMagickWand-7.Q16HDRI.6.dylib
  Referenced from: /usr/local/opt/php@7.1-imagick/lib/php/20160303/imagick.so
  Reason: image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php@7.1-imagick/lib/php/20160303/imagick.so' - dlopen(/usr/local/opt/php@7.1-imagick/lib/php/20160303/imagick.so, 9): Library not loaded: /usr/local/opt/imagemagick/lib/libMagickWand-7.Q16HDRI.6.dylib
  Referenced from: /usr/local/opt/php@7.1-imagick/lib/php/20160303/imagick.so

workaround to install without bottle:

➔ brew reinstall -s kabel/pecl/php@7.1-imagick
==> Reinstalling kabel/pecl/php@7.1-imagick
...

bingo:

➔ php -m|grep imagick  -i
imagick
➔

fixed with e780af6 by @kabel