php - Homebrews php56-imagick module can not load because of liblzma -
i installed php56 via homebrew on os x yosemite. it's working installation. added imagemagick , php56-imagick packages.
apache running ok, php -i shows imagick module. apache-server can not load module on startup following warning:
php warning: php startup: unable load dynamic library '/usr/local/opt/php56-imagick/imagick.so' - dlopen(/usr/local/opt/php56-imagick/imagick.so, 9): library not loaded: /usr/local/opt/xz/lib/liblzma.5.dylib\n referenced from: /usr/local/opt/imagemagick/lib/libmagickwand-6.q16.2.dylib\n reason: incompatible library version: libmagickwand-6.q16.2.dylib requires version 8.0.0 or later, liblzma.5.dylib provides version 6.0.0 in unknown on line 0
therefore there no imagick class in php.
the package xz (providing liblzma) up2date.
is path issue (has /usr/lib precedence on /usr/local/lib)?
/usr/lib/liblzma.5.dylib (probably os x provided) /usr/local/cellar/xz/5.2.2/lib/liblzma.5.dylib (homebrew) /usr/local/lib/liblzma.5.dylib (link homebrew)
replacing /usr/lib/liblzma.5.dylib broke os x system.
or should report issue to:
- xz
- homebrew
- imagemagick
?
thanks suggestion.
j.
Comments
Post a Comment