#31193 [Com]: iconv.c:254 undefined reference to 'libiconv'
| From: | bugs dot php dot net at michaelrack dot de | Date: | Mon, 18 Feb 2008 14:55:47 +0000 |
| Subject: | #31193 [Com]: iconv.c:254 undefined reference to 'libiconv' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-122410@lists.php.net to get a copy of this message | ||
ID: 31193
Comment by: bugs dot php dot net at michaelrack dot de
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:
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
Previous Comments:
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
[2007-11-02 23:41:11] w dot peter dot howell at meccahosting dot com
This problem still occurs in v5.2.4. It's been 3 years now. Does
someone plan to fix this?
------------------------------------------------------------------------
[2007-07-24 09:09:29] janarbek at icu dot ac dot kr
I tried to install Php5.2.3 on Fedora 4 with Apache 2
if you add -liconv to EXTRA_LIBS then make works fine.
------------------------------------------------------------------------
[2007-05-15 09:16:11] weber at lviv dot farlep dot net
Latest PHP 5.2.2.
Faced the same problem on RHES4.
My options:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=shared,/usr --with-xml --with-dom --enable-sockets
--enable-ftp
Even I compiled clean libiconv the problem persists.
Solution was the same as described in the first post.
------------------------------------------------------------------------
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