#19717 [Opn->Csd]: iconv functions missing
| From: | iliaa@php.net | Date: | Fri, 08 Nov 2002 14:45:05 +0000 |
| Subject: | #19717 [Opn->Csd]: iconv functions missing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24345@lists.php.net to get a copy of this message | ||
ID: 19717
Updated by: iliaa@php.net
Reported By: paj@pearfr.org
-Status: Open
+Status: Closed
Bug Type: ICONV related
Operating System: Linux version 2.4.18-10
PHP Version: 4.3.0-dev
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-10-02 16:01:39] paj@pearfr.org
change "From". Sorry for the wrong entry.
------------------------------------------------------------------------
[2002-10-02 15:51:58] sniper@php.net
restoring the correct values..
------------------------------------------------------------------------
[2002-10-02 11:36:45] justin@vergeworks.com
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 \
------------------------------------------------------------------------
[2002-10-02 10:53:30] sniper@php.net
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] paj@pearfr.org
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