ID: 43189 User updated by: meh at mailinator dot com Reported By: meh at mailinator dot com -Status: No Feedback +Status: Open Bug Type: ICONV related Operating System: Mac OS X 10.5 PHP Version: 5.3CVS-2007-11-04 (snap) New Comment:
5.2.9, --with-iconv still gives this error. Previous Comments: ------------------------------------------------------------------------ [2009-03-13 07:56:37] jorge at reteguin dot com This configure option worked better for me: --with-iconv=/opt/local With this option I got the iconv section at phpinfo() and the function iconv() worked now. (Mac OS 10.5.6, PHP 5.2.8, iconv installed in /opt/local using macports) ------------------------------------------------------------------------ [2009-03-11 06:07:36] jorge at reteguin dot com This configure option worked for me: --with-iconv=shared,/opt/local (Mac OS 10.5.6, PHP 5.2.8, iconv installed in /opt/local using macports) ------------------------------------------------------------------------ [2009-02-22 14:03:46] neilmsn at mac dot com Still same error compiling PHP 5.3 as I just tested again. ------------------------------------------------------------------------ [2009-02-22 12:26:37] neilmsn at mac dot com Odd I used the suggested --with-iconv=shared,/opt/local in the configure and it's worked now BUT it's 5.2.8 installed. I must have somehow mixed my directories up, so I don't know if PHP 5.3 fixed this error now. ------------------------------------------------------------------------ [2009-02-22 12:07:15] neilmsn at mac dot com I was getting the same error trying to compile from MacPorts on OS X 10.5.6 Anyway I downloaded the PHP 5.3 snapshot and its still gives the same error. Undefined symbols: "_iconv_close", referenced from: _php_iconv_string in iconv.o _php_iconv_string in iconv.o __php_iconv_strlen in iconv.o __php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o __php_iconv_mime_decode in iconv.o __php_iconv_mime_decode in iconv.o _zif_iconv_substr in iconv.o _zif_iconv_substr in iconv.o _php_iconv_stream_filter_dtor in iconv.o _zif_iconv_mime_encode in iconv.o _zif_iconv_mime_encode in iconv.o "_iconv_open", referenced from: _php_iconv_string in iconv.o __php_iconv_strlen in iconv.o __php_iconv_strpos in iconv.o __php_iconv_mime_decode in iconv.o __php_iconv_mime_decode in iconv.o _zif_iconv_substr in iconv.o _zif_iconv_substr in iconv.o _zif_iconv_mime_encode in iconv.o _zif_iconv_mime_encode in iconv.o _php_iconv_stream_filter_factory_create in iconv.o ld: symbol(s) not found ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/43189 -- Edit this bug report at http://bugs.php.net/?id=43189&edit=1