ID: 31193 Comment by: justincase at mailcatch dot com Reported By: david at cubbieco dot com Status: No Feedback Bug Type: Compile Failure Operating System: linux gcc-3.2 PHP Version: 5.0.3 New Comment:
Run configure like this: [EMAIL PROTECTED] php-5.0.3]# ./configure CFLAGS=-liconv Previous Comments: ------------------------------------------------------------------------ [2008-06-12 14:01:06] spadefinger at hotmail dot com PHP version 5.2.6 on VectorLinux 5.8 deault configure gives error as earlier posts. Using ./configure --without-libiconv did not work, adding -liconv to the EXTRA_LIBS did not work. Used ./configure --without-iconv to get past the errors. ------------------------------------------------------------------------ [2008-02-23 16:47:58] kspetter at curreyadkinscook dot com What did you add in the EXTRA_LIBS variable? I'm having the same issue with version 5.2.5 as well and I can also tell that it's looking for a different area for the libary even if I'm doing a --with-iconv=dirname If someone can point out what they did I'll be glad to test out if it resolves it for me as well. ------------------------------------------------------------------------ [2008-02-18 14:55:47] bugs dot php dot net at michaelrack dot de Same Problem here in v5.2.5. libiconv exists on my Gentoo Base 2007.1 System. PHP automaticly derminates the location of libiconv and compile against this library. The Configure-Script have to add -liconv to the EXTRA_LIBS variable. After i've added this library to the EXTRA_LIBS variable, PHP compiles without a error-message. Another solution is --without-libiconv ... but there is still a bug in the configure-script! Kind regards, Michael Rack http://www.michaelrack.de ------------------------------------------------------------------------ [2008-02-17 18:53:26] marrtins at hackers dot lv undefined reference to `libiconv_open' php 5.2.5, slackware 10 ------------------------------------------------------------------------ [2007-11-15 08:57:10] fr33z at inmail dot cz I have the same problem with PHP 5.2.5 on Slackware 11, why it isn't still fixed? ------------------------------------------------------------------------ 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/31193 -- Edit this bug report at http://bugs.php.net/?id=31193&edit=1