无法在MAC(Maverick)上加载动态库gettext.so和/usr/local/lib/libintl.8.dylib

时间:2014-05-31 07:47:57

标签: php unit-testing zend-framework2

当我执行phpUnit测试时,我得到了这些错误。我如何解决它们?

[31-May-2014 09:41:47 CET] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20100525/gettext.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20100525/gettext.so, 9): Library not loaded: /usr/local/lib/libintl.8.dylib

参考文献:/usr/lib/php/extensions/no-debug-non-zts-20100525/gettext.so

原因:在第0行的未知中找不到图像

[31-May-2014 09:41:47 CET] PHP Fatal error:  Call to undefined function _() in /var/www/myproject/module/Base/config/module.config.php on line 44

感谢

0 个答案:

没有答案