使用 Zend Server Community Edition 在 OS-X Snow Leopard 上编译 PHP 的 Gearman 扩展
我想知道是否还有其他人知道如何解决这个问题。无论我是通过 PECL 安装扩展还是手动编译它,我都会遇到同样的错误:
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 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在获得我在 Twitter 上关注的人的帮助后,来自 Zend 的 Ralph Schindler 向我介绍了如何通过 Skype 聊天执行此操作:
http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-雪豹上的服务器 ce
After getting help from the people I follow in Twitter, Ralph Schindler from Zend talked me through how to do this via Skype chat:
http://ralphschindler.com/2010/05/12/compiling-gearman-or-anything-for-zend-server-ce-on-snow-leopard