php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19717 iconv functions missing
Submitted: 2002-10-02 08:38 UTC Modified: 2002-11-08 08:45 UTC
From: paj at pearfr dot org Assigned:
Status: Closed Package: ICONV related
PHP Version: 4.3.0-dev OS: Linux version 2.4.18-10
Private report: No CVE-ID: None
 [2002-10-02 08:38 UTC] paj at pearfr dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-02 10:53 UTC] 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 11:36 UTC] justin at vergeworks dot 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 15:51 UTC] sniper@php.net
restoring the correct values..

 [2002-10-02 16:01 UTC] paj at pearfr dot org
change "From". Sorry for the wrong entry.
 [2002-11-08 08:45 UTC] iliaa@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC