ID: 43189
Comment by: richard dot sentino at mindginative dot com
Reported By: meh at mailinator dot com
Status: No Feedback
Bug Type: ICONV related
Operating System: Mac OS X 10.5
PHP Version: 5.3CVS-2007-11-04 (snap)
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2009-04-03 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2009-03-26 23:21:14] scottmac@php.net
I need the config.log for the static build to try and work out whats
happening.
------------------------------------------------------------------------
[2009-03-26 23:12:18] chanleo1985 at gmail dot com
I used a self compiled libiconv downloaded from GNU.
setenv DYLD_LIBRARY_PATH to be my self compiled libiconv/lib
compiling it as static module does not work. I got the same linker
error as above. Configure passed but Make failed
But compiling it as dynamic module , using --with-iconv=shared, worked
for me. Configure passed and Make passed
Bare in mind that even if configure passed and make passed, iconv still
won't show up when you do php -m to list all the modules. You need to
set php.ini to enable it. Need to add the following lines
extension_dir = /location/of/iconv.so
extension=iconv.so
------------------------------------------------------------------------
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