#43189 [Com]: Fails to link iconv

From: Date: Tue, 23 Dec 2008 13:07:59 +0000
Subject: #43189 [Com]: Fails to link iconv
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-132265@lists.php.net to get a copy of this message
ID: 43189 Comment by: aalamaki at gmail 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: Seems to be the same issue on PHP 5.2.8 and 10.5.6, I've tried doing the mac port with the --with-iconv=shared,/opt/local and it compiled but the iconv didn't come available. I also tried copying over the iconv.h from the macports to the /usr/include but getting the errors mentioned in the first post, it will not compile with that. Anyone have experience with this issue on 10.5.6 ? Previous Comments: ------------------------------------------------------------------------ [2008-10-15 09:19:26] safdf at mailinator dot com I still have problem with this on 10.5.4. Could you please add a check or workaround for this in configure script? ------------------------------------------------------------------------ [2008-05-25 03:30:50] joe at joeruwe dot com this happened for me in 10.5.2 with php 5.2.6. i had to compile everything with --without-iconv then reconfigure and remake with the --with-iconv flag.. ------------------------------------------------------------------------ [2008-03-29 21:11:18] sdfsa at mailinator dot com This problem still occurs in 10.5.2 for me. ------------------------------------------------------------------------ [2008-02-12 00:03:48] mjs at beebo dot org This appears to be fixed in 10.5.2: the 10.5.2 /usr/include/iconv.h is different to the 10.5.1 version, and it compiles successfully as well. ------------------------------------------------------------------------ [2008-02-03 09:25:38] mjs at beebo dot org Replacing /usr/include/iconv.h with the one from MacPorts and worked for me. (I did need to re-configure and re-compile the whole thing though-- just re-running configure didn't work.) For what it's worth, the --with-iconv=shared,/opt/local idea *didn't* work for me--php configured and built okay, but the iconv module didn't actually become available. (php -m doesn't show it.) ------------------------------------------------------------------------ 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

« previous php.bugs (#132265) next »