Bug #16252 Updated: try to link the wrong iconv lib when compiling with xmlrpc

From: Date: Wed, 15 May 2002 06:54:14 +0000
Subject: Bug #16252 Updated: try to link the wrong iconv lib when compiling with xmlrpc
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7718@lists.php.net to get a copy of this message
ID: 16252 Updated by: k.allan-php@au.darkbluesea.com Reported By: alita@neowiz.com Status: Feedback Bug Type: Compile Failure Operating System: FreeBSD 4.5 PHP Version: 4.1.2 New Comment: This is still not fixed in 4.2.0 release as far as i can tell, I needed to add: #include "php.h" before the: #ifdef HAVE_GICONV_H So that it would actually find the define, and use the correct header. Previous Comments: ------------------------------------------------------------------------ [2002-03-26 03:25:00] sniper@php.net This was not fixed in 4.2.0RC1..but hopefully will be in RC2. Can you please try the latest CVS snapshot from http://snaps.php.net/ ------------------------------------------------------------------------ [2002-03-25 07:53:41] derick@php.net How does php 4.2.0 rc 1 work for you (www.php.net/~derick)? Derick ------------------------------------------------------------------------ [2002-03-25 04:32:10] alita@neowiz.com I tried to compile php with xmlrpc on FreeBSD 4.5 in which iconv and libiconv packages are installed and got the error messages says that cannot find symbol name 'iconv_open', 'iconv', 'iconv_close' in ext/xmlrpc/libxmlrpc/encodings.c I found out that 'make' tries to link libgiconv while encodings.c includes iconv.h In FB4.5, I think encodings.c should include not "iconv.h" but "ginconv.h" After fixing like this, all goes well. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16252&edit=1

« previous php.bugs (#7718) next »