Link to home
Start Free TrialLog in
Avatar of foxymoron7
foxymoron7

asked on

php error after installing imagemagick and imagick

Hello All,

On a Mac OSX 10.8.5 machine running Apache, PHP, & MySQL for several months with no problems.

After installing ImageMagick via homebrew and imagick.so via pecl, PHP no longer runs, i.e. no pages will load and terminal scripts such as php echo 'hey'; all fail with the following error:

dyld: lazy symbol binding failed: Symbol not found: _MagickWandGenesis
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20090626/imagick.so
  Expected in: flat namespace

dyld: Symbol not found: _MagickWandGenesis
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20090626/imagick.so
  Expected in: flat namespace

Sorry, my web searches have been less than fruitful on this one.

Any help would be greatly appreciated.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Berkson Wein
Berkson Wein
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of foxymoron7
foxymoron7

ASKER

weinberk,

Sorry for the delay in responding and thank you for your help.  I'm hoping for a fix that won't require reinstalling imagick manually.  I'm going to leave this question open for a couple days longer in case there is another solution out there.  If nothing else pops up, i will accept your answer as the solution.

Thanks again!
Ok.  Good luck Foxy.
I'm absolutely not a homebrew expert, but my experience with other installation tools / 3rd party package managers tells me that when they work, fine, but sometimes there's a package that conflicts with another and when that happens, it's best to take over.  (and for that reason I try not to use installers like homebrew)
Thank you, weinberk!