Edit report at http://bugs.php.net/bug.php?id=51847&edit=1
ID: 51847 User updated by: php-bugs-2010 at ryandesign dot com Reported by: php-bugs-2010 at ryandesign dot com Summary: php 5.2.13 and gettext 0.18: Undefined symbols: _zif_setlocale -Status: Feedback +Status: Open Type: Bug Package: Compile Failure Operating System: Mac OS X 10.6.3 x86_64 PHP Version: 5.2.13 New Comment: php 5.3.2 builds fine with gettext 0.17 and 0.18. This issue only appears to affect php 5.2.x. Adding '#include "ext/standard/php_string.h"' to ext/standard/basic_functions.c does not change the error message. Previous Comments: ------------------------------------------------------------------------ [2010-05-18 10:04:40] ka...@php.net Hi Does this happen with 5.3 aswell? Does adding the following include after including 'ext/standard/php_uuencode.h' work: #include "ext/standard/php_string.h" ------------------------------------------------------------------------ [2010-05-18 05:09:31] php-bugs-2010 at ryandesign dot com Modify summary. ------------------------------------------------------------------------ [2010-05-18 05:07:58] php-bugs-2010 at ryandesign dot com Description: ------------ Hello, I'm the maintainer of the php packages in MacPorts, and it seems that php 5.2.13 doesn't build with gettext 0.18 (at least not on Mac OS X 10.6.3 x86_64). It fails with: Undefined symbols: "_zif_setlocale", referenced from: _basic_functions in basic_functions.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 php 5.2.13 builds fine with gettext 0.17, and php 5.3.2 builds fine with gettext 0.17 and 0.18. Here's the bug report that was submitted to us: http://trac.macports.org/ticket/24934 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51847&edit=1