Bug #16165 Updated: iconv extension fails to compile
| From: | sander@php.net | Date: | Tue, 19 Mar 2002 13:05:54 +0000 |
| Subject: | Bug #16165 Updated: iconv extension fails to compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2870@lists.php.net to get a copy of this message | ||
ID: 16165
Updated by: sander@php.net
Reported By: jan@horde.org
-Status: Open
+Status: Analyzed
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.0CVS-2002-03-19
New Comment:
It's a known problem and we're working on it.
Previous Comments:
------------------------------------------------------------------------
[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