Bug #16165 Updated: iconv extension fails to compile
| From: | jan at horde dot org | Date: | Thu, 21 Mar 2002 11:14:09 +0000 |
| Subject: | Bug #16165 Updated: iconv extension fails to compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3039@lists.php.net to get a copy of this message | ||
ID: 16165
Updated by: jan@horde.org
Reported By: jan@horde.org
-Status: Closed
+Status: Open
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.0CVS-2002-03-19
New Comment:
But it was reintroduced with yesterday's changes by Jon Parise and
others.
Previous Comments:
------------------------------------------------------------------------
[2002-03-19 18:00:54] sniper@php.net
Fixed now.
------------------------------------------------------------------------
[2002-03-19 08:05:53] sander@php.net
It's a known problem and we're working on it.
------------------------------------------------------------------------
[2002-03-19 07:36:56] jan@horde.org
Since the recent changes in cvs for detecting the correct libiconv to
include, PHP fails to compile.
This is what I get at compile time:
ext/iconv/iconv.lo: In function `php_iconv_string':
/root/cvs/cvsphp/ext/iconv/iconv.c:198: undefined reference to
`libiconv_open'
/root/cvs/cvsphp/ext/iconv/iconv.c:218: undefined reference to
`libiconv'
/root/cvs/cvsphp/ext/iconv/iconv.c:230: undefined reference to
`libiconv'
/root/cvs/cvsphp/ext/iconv/iconv.c:233: undefined reference to
`libiconv_close'
I installed libiconv 1.7 under /usr/local, my configure line uses
--with-iconv=/usr/local
This are the relevant lines from config.log:
configure:29655: checking for iconv support
configure:29685: result: yes
configure:29692: checking for iconv_open in -lc
configure:29719: gcc -o conftest -I[......]
configure:29722: $? = 0
configure:29725: test -s conftest
configure:29728: $? = 0
configure:29739: result: yes
configure:63320: checking for iconv_open in -lc
configure:63367: result: yes
ac_cv_lib_c_iconv_open=yes
#define HAVE_ICONV 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16165&edit=1