ID: 43189
Updated by: philip@php.net
Reported By: meh at mailinator dot com
Status: Open
Bug Type: ICONV related
Operating System: Mac OS X 10.5
PHP Version: 5.3CVS-2007-11-04 (snap)
New Comment:
For me, the following solution worked:
http://blog.yimingliu.com/2009/02/24/missing-library-symbols-while-
compiling-php-528/
Which involves moving around $(MH_BUNDLE_FLAGS). Looks like a different
yet related bug however, but ....
Previous Comments:
------------------------------------------------------------------------
[2009-05-24 15:54:54] meh at mailinator dot com
It still fails for me in php5.3-200905241430.
This workaround still necessary:
sudo mv /usr/include/iconv.h /usr/include/iconv.h.leo_orig
sudo ln -s /sw/include/iconv.h /usr/include/iconv.h
rm ext/iconv/*.*o
make
------------------------------------------------------------------------
[2009-04-30 13:03:17] scottmac@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2009-04-24 17:38:06] richard dot sentino at mindginative dot com
This configure option worked for me:
--with-iconv=/opt/local
(Mac OS 10.5.6, PHP 5.2.9, iconv installed in /opt/local using
macports)
but it doesn't work with this configure option :
--with-iconv=shared,/opt/local
the configure passed and make passed but iconv won't show up when I do
php -m
------------------------------------------------------------------------
[2009-03-27 06:26:43] senz at senz dot su
Changing --with-iconv-dir to --with-iconv=shared,/opt/local
solve it on my system.
/opt/local = macports with iconv
------------------------------------------------------------------------
[2009-03-27 06:10:22] senz at senz dot su
To scottmac@php.net:
here's my config.log from compilation with error.
iconv compiled by macports. --with-iconv-dir=shared,/opt/local and
static both failed.
http://rapidshare.com/files/214033749/config.log.html
i also send a copy on your email.
------------------------------------------------------------------------
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