ID:               16165
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

Fixed now.


------------------------------------------------------------------------

[2002-03-19 08:05:53] [EMAIL PROTECTED]

It's a known problem and we're working on it.

------------------------------------------------------------------------

[2002-03-19 07:36:56] [EMAIL PROTECTED]

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

Reply via email to