From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0CVS-2002-03-19
PHP Bug Type:     Compile Failure
Bug description:  iconv extension fails to compile

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 bug report at http://bugs.php.net/?id=16165&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16165&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16165&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16165&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16165&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16165&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16165&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16165&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16165&r=submittedtwice

Reply via email to