ID: 19717 User updated by: [EMAIL PROTECTED] -Summary: iconv functions missing -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Compile Failure -Operating System: Linux version 2.4.18-10 +Operating System: Linux 2.4.9-34 -PHP Version: 4CVS-2002-10-02 +PHP Version: 4.2.1 New Comment:
hello, sorry, I did a iconvconfig -V :) I use the 1.8, I reinstall it to be sure and make still fails. I do not know if this has something to do with that, but I doubt that the missing function are exported, due to this : #ifndef LIBICONV_PLUG #define iconv_open libiconv_open #endif Same for the others 2. I have to look it deeper, but actually plug.so exists, I suppose that set LIBICONV_PLUG too. The configure : ./configure --prefix=/home/paj/php4 \ --enable-exif \ --with-calendar=shared \ --enable-magic-quotes \ --enable-trans-sid \ --enable-wddx \ --enable-ftp \ --with-gd=php \ --with-zlib \ --enable-gd-native-tt \ --with-t1lib="/usr/local" \ --with-jpeg-dir="/usr" \ --with-png-dir="/usr" \ --with-zlib-dir="/usr" \ --with-ttf \ --with-freetype-dir="/usr" \ --with-mcrypt=/usr \ --with-unixodbc=/usr \ --with-tiff-dir="/usr" \ --with-jpeg-dir="/usr" \ --with-zlib-dir="/usr" \ --with-openssl="/usr" \ --with-curl=/usr \ --with-ming="/usr/local" \ --enable-bcmath \ --with-gettext="/usr" \ --with-mysql=/usr \ --with-pgsql=/usr \ --with-xmlrpc \ --enable-xslt \ --with-xslt-sablot=/usr \ --with-sablot-js=/usr \ --enable-sockets \ --with-imagick=/usr/local \ --with-dom \ --with-dom-xslt \ --with-dom-exslt \ --with-java=/usr/java/jdk1.3.1_03 \ --with-tokenizer \ Previous Comments: ------------------------------------------------------------------------ [2002-10-02 10:53:30] [EMAIL PROTECTED] Latest libiconv release is this: http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz So I doubt you have 2.2.5.. What was the full configure line btw? ------------------------------------------------------------------------ [2002-10-02 08:38:05] [EMAIL PROTECTED] Hello, I cannot compile anymore the current CVS version with --with-xmlrpc. It failed with some iconv functions. I currently used the iconv 2.2.5 The 'make' failed here : ext/xmlrpc/libxmlrpc/encodings.o: In function `convert': /home/paj/projects/php4/ext/xmlrpc/libxmlrpc/encodings.c:62: undefined reference to `libiconv_open' /home/paj/projects/php4/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv' /home/paj/projects/php4/ext/xmlrpc/libxmlrpc/encodings.c:93: undefined reference to `libiconv_close' collect2: ld returned 1 exit status make: *** [sapi/cgi/php-cgi] Error 1 The compilation works fine without xmlrpc. Tell me if you need more informations. hth pa ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19717&edit=1