Solved

php error after installing imagemagick and imagick

Posted on 2014-01-06
4
768 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
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
weinberk earned 500 total points
Comment Utility
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
Comment Utility
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:weinberk
Comment Utility
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
Comment Utility
Thank you, weinberk!
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

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 …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now