Edit report at http://bugs.php.net/bug.php?id=48195&edit=1
ID: 48195
User updated by: rickdunn at chez dot com
Reported by: rickdunn at chez dot com
Summary: iconv link failure
Status: Open
Type: Bug
Package: Compile Failure
Operating System: MacOSX 10.6.2
PHP Version: 5.3.1
Assigned To: scottmac
New Comment:
FYI, I used http://snaps.php.net/php5.3-latest.tar.gz for
the successful
build.
Previous Comments:
------------------------------------------------------------------------
[2010-03-10 22:48:05] rickdunn at chez dot com
I just tested the latest snapshot and the problem seems to be fixed.
Thanks!
------------------------------------------------------------------------
[2010-03-10 22:23:34] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2010-01-08 02:24:49] quanah at zimbra dot com
I'm hitting this problem on Snow Leopard (OSX 10.6) with PHP 5.2.12,
since it was asked. I have no desire to use a custom iconv build.
------------------------------------------------------------------------
[2010-01-02 20:38:18] iongion at yahoo dot com
I think i found solution to this.
It is clearly the compiler or linker being upset.
I remove all traces of iconv from my computer (an osx) and of php (even
the default one that snow leopard comes with)
Then i installed a fresh iconv + compile fresh php 5.3.1
Everything worked.
I had lots of libiconv builds in my /usr/local/lib
(remember, i first deleted all traces of iconv or php, headers, so,
dylib, a)
------------------------------------------------------------------------
[2009-12-22 15:10:49] rickdunn at chez dot com
I don't use 5.2.*, so this is just a 5.3.* issue for me. Here's the
output requested:
The grep results...
#define HAVE_ICONV 1
#define PHP_ICONV_IMPL "libiconv"
#define PHP_ICONV_IMPL "libiconv"
#define PHP_ICONV_IMPL "libiconv"
#define PHP_ICONV_IMPL "libiconv"
#define ICONV_SUPPORTS_ERRNO 1
#define ICONV_SUPPORTS_ERRNO 1
#define ICONV_SUPPORTS_ERRNO 1
#define PHP_ICONV_H_PATH </usr/include/iconv.h>
#define HAVE_ICONV 1
And the cat results...
#define HAVE_ICONV 1
#define HAVE_LIBICONV 1
#define ICONV_SUPPORTS_ERRNO 1
#define PHP_ICONV_H_PATH </usr/include/iconv.h>
#define PHP_ICONV_IMPL "libiconv"
------------------------------------------------------------------------
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/bug.php?id=48195
--
Edit this bug report at http://bugs.php.net/bug.php?id=48195&edit=1