Bug #14423: PHP won't compile with --with-iconv turned on
| From: | never at nevermind dot kiev dot ua | Date: | Tue, 11 Dec 2001 12:35:42 +0000 |
| Subject: | Bug #14423: PHP won't compile with --with-iconv turned on | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-73111@lists.php.net to get a copy of this message | ||
From: never@nevermind.kiev.ua
Operating system: FreeBSD 4.4-STABLE
PHP version: 4.1.0
PHP Bug Type: Compile Failure
Bug description: PHP won't compile with --with-iconv turned on
System:
[never@mile ~]$ uname -a
FreeBSD mile.nevermind.kiev.ua 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Dec 4
21:12:20 EET 2001 root@mile.nevermind.kiev.ua:/usr/obj/usr/src/sys/mile
i386
[never@mile ~]$ pkg_info | grep iconv-2
iconv-2.0_1 Charset conversion library and utilities
How to repeat:
./configure '--with-mysql=/usr/local' '--with-pgsql=/usr/local'
'--enable-track-vars' '--enable-sockets' '--enable-ftp'
'--with-ttf'
'--with-gd=/usr/local' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local' '--with-freetype-dir=/usr/local'
'--with-freetype' '--with-zlib-dir=/usr/local'
'--with-iconv=/usr/local'
'--enable-xslt' '--enable-wddx' '--with-xslt-sablot'
'--with-expat-dir=/usr/local'
make
Output:
Making all in .
/bin/sh /usr/local/src/php-4.1.0/libtool --silent --mode=link gcc -I.
-I/usr/local/src/php-4.1.0/ -I/usr/local/src/php-4.1.0/main
-I/usr/local/src/php-4.1.0 -I/usr/local/src/php-4.1.0/Zend
-I/usr/local/include/freetype2/freetype -I/usr/local/include/gd
-I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/src/php-4.1.0/TSRM -g -O2 -o php -export-dynamic stub.lo
libphp4.la
./.libs/libphp4.a(internal_functions.o): In function
`php_startup_internal_extensions':
/usr/local/src/php-4.1.0/main/internal_functions.c(.data+0x28): undefined
reference to `iconv_module_entry'
*** Error code 1
Stop in /usr/local/src/php-4.1.0.
*** Error code 1
Stop in /usr/local/src/php-4.1.0.
--
Edit bug report at: http://bugs.php.net/?id=14423&edit=1