[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

php error after installing imagemagick and imagick

Posted on 2014-01-06
4
Medium Priority
?
824 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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 …
Suggested Courses

650 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