#19717 [Opn]: iconv functions missing
| From: | paj at pearfr dot org | Date: | Wed, 02 Oct 2002 21:01:39 +0000 |
| Subject: | #19717 [Opn]: iconv functions missing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21327@lists.php.net to get a copy of this message | ||
ID: 19717
User updated by: paj@pearfr.org
-Reported By: justin@vergeworks.com
+Reported By: paj@pearfr.org
Status: Open
Bug Type: ICONV related
Operating System: Linux version 2.4.18-10
-PHP Version: 4CVS-2002-10-02
+PHP Version: current cvs
New Comment:
change "From". Sorry for the wrong entry.
Previous Comments:
------------------------------------------------------------------------
[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