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

From: Date: Sun, 30 Jun 2002 05:12:31 +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-12569@lists.php.net to get a copy of this message
ID: 16252 Updated by: sniper@php.net Reported By: alita@neowiz.com -Status: No Feedback +Status: Closed Bug Type: Compile Failure Operating System: FreeBSD 4.5 PHP Version: 4.1.2 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version 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. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-06-30 01:00:07] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-05-15 02:54:14] k.allan-php@au.darkbluesea.com 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. ------------------------------------------------------------------------ [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 (#12569) next »