#43189 [Asn]: Fails to link iconv
| From: | jani@php.net | Date: | Mon, 01 Jun 2009 09:13:48 +0000 |
| Subject: | #43189 [Asn]: Fails to link iconv | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-137936@lists.php.net to get a copy of this message | ||
ID: 43189
Updated by: jani@php.net
Reported By: meh at mailinator dot com
Status: Assigned
Bug Type: ICONV related
Operating System: Mac OS X 10.5
PHP Version: 5.*, 6CVS (2009-06-01)
Assigned To: scottmac
New Comment:
Just an idea: How about you remove the extra installations of the
libraries and only use ONE at the time? Or tune your library paths to
be
correct..
Previous Comments:
------------------------------------------------------------------------
[2009-06-01 09:09:44] jani@php.net
Scott, apparently your fix didn't help?
------------------------------------------------------------------------
[2009-05-28 16:42:35] philip@php.net
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 ....
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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