ID: 26264 Updated by: [EMAIL PROTECTED] Reported By: Joerg dot Dieter dot Friedrich at uni-konstanz dot de -Status: Open +Status: Feedback Bug Type: ICONV related Operating System: Solaris 9 PHP Version: 4.3.4 New Comment:
Try giving the prefix of iconv library to the configure option, like --with-iconv=shared,/usr/local Previous Comments: ------------------------------------------------------------------------ [2003-11-16 04:31:13] Joerg dot Dieter dot Friedrich at uni-konstanz dot de Here you are: ./configure --prefix=/opt/php4 --with-apxs=/opt/apache/bin/apxs --sysconfdir=/opt/etc/php4 --with-config-file-path=/opt/etc/php4 --disable-debug --with-gd=shared --with-jpeg-dir=/usr/sfw --with-png-dir=/usr/sfw --with-zlib=shared --with-imap=shared,/usr/local/src/imap-2002e --with-mysql=shared,/opt/mysql --with-mysql-sock=/var/run/mysql/sock --enable-dba=shared --with-db4=shared,/usr/local --with-ndbm=shared --with-ldap=shared,/usr/local --with-openssl=/usr/local/ssl --with-gettext --with-pear --enable-safe-mode --enable-bcmath=shared --enable-calendar=shared --enable-ftp=shared --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-mcrypt=shared --with-xml=shared --with-dom=shared --enable-mime-magic --with-iconv=shared --with-mbstring=all ------------------------------------------------------------------------ [2003-11-15 21:02:24] [EMAIL PROTECTED] Not enough information. (starting with missing configure line used..etc.) And dear Moriyoshi: I have no idea what you're talking about. Don't assign any bug reports to me, I don't have time to handle them anymore. ------------------------------------------------------------------------ [2003-11-15 15:39:27] [EMAIL PROTECTED] Assigned to Jani, who didn't try to listen to my warnings :) ------------------------------------------------------------------------ [2003-11-15 13:56:18] Joerg dot Dieter dot Friedrich at uni-konstanz dot de Description: ------------ Hi! I tried to use php 4.3.4 with iconv support but it always segfaults when iconv is enabled. Btw. I wanted to use sun's iconv but gnu iconv had the same result. I tried to compiled php with --enable-debug which stoped this way: gcc -I/usr/include -Iext/iconv/ -I/usr/local/src/php-4.3.4/ext/iconv/ -DPHP_ATOM_INC -I/usr/local/src/php-4.3.4/include -I/usr/local/src/php-4.3.4/main -I/usr/local/src/php-4.3.4 -I/usr/local/src/php-4.3.4/Zend -I/usr/local/ssl/include -I/usr/local/include/libxml2 -I/usr/sfw/include -I/usr/local/src/imap-2002e/c-client -I/usr/local/include -I/opt/mysql/include/mysql -I/usr/local/src/php-4.3.4/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/src/php-4.3.4/TSRM -g -Wall -pedantic -c /usr/local/src/php-4.3.4/ext/iconv/iconv.c -fPIC -DPIC -o ext/iconv/iconv.lo In file included from /usr/local/src/php-4.3.4/ext/iconv/iconv.c:40: /usr/include/iconv.h:8: warning: ignoring #pragma ident /usr/local/src/php-4.3.4/ext/iconv/iconv.c: In function `zm_startup_miconv': /usr/local/src/php-4.3.4/ext/iconv/iconv.c:129: error: `_libiconv_version' undeclared (first use in this function) /usr/local/src/php-4.3.4/ext/iconv/iconv.c:129: error: (Each undeclared identifier is reported only once /usr/local/src/php-4.3.4/ext/iconv/iconv.c:129: error: for each function it appears in.) /usr/local/src/php-4.3.4/ext/iconv/iconv.c: In function `php_iconv_string': /usr/local/src/php-4.3.4/ext/iconv/iconv.c:272: warning: passing arg 2 of `iconv' from incompatible pointer type make: *** [ext/iconv/iconv.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26264&edit=1