Compiling Gearman extension for PHP on OS-X Snow Leopard with Zend Server Community Edition

Posted by GrumpyCanuck on Stack Overflow See other posts from Stack Overflow or by GrumpyCanuck
Published on 2010-05-11T18:26:49Z Indexed on 2010/05/26 20:01 UTC
Read the original article Hit count: 378

Filed under:
|
|
|

I was wondering if anyone else has figured out how to solve this problem. Whether I install the extension via PECL or compile it by hand, I get the same error:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php_extensions/gearman.so' - dlopen(/usr/local/zend/lib/php_extensions/gearman.so, 9): no suitable image found.  Did find:
/usr/local/zend/lib/php_extensions/gearman.so: mach-o, but wrong architecture in Unknown on line 0

I have no idea how to fix this problem and I can only bang my head into my desk so many times.

© Stack Overflow or respective owner

Related posts about php

Related posts about osx