Solved

php error after installing imagemagick and imagick

Posted on 2014-01-06
4
789 Views
Last Modified: 2014-01-17
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!
0
Comment
Question by:foxymoron7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
Berkson Wein earned 500 total points
ID: 39762866
Looks like this might be a common problem.  Here's a possible solution though:
http://charles.lescampeurs.org/2013/06/18/add-c-header-include-path-pecl

Hope this helps.
0
 
LVL 1

Author Comment

by:foxymoron7
ID: 39769920
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!
0
 
LVL 15

Expert Comment

by:Berkson Wein
ID: 39771324
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)
0
 
LVL 1

Author Closing Comment

by:foxymoron7
ID: 39790343
Thank you, weinberk!
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question