Bug #16252 Updated: try to link the wrong iconv lib when compiling with xmlrpc
| From: | php-bugs at lists dot php dot net | Date: | Sun, 30 Jun 2002 05:00:08 +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-12568@lists.php.net to get a copy of this message | ||
ID: 16252
Updated by: php-bugs@lists.php.net
Reported By: alita@neowiz.com
-Status: Feedback
+Status: No Feedback
Bug Type: Compile Failure
Operating System: FreeBSD 4.5
PHP Version: 4.1.2
New Comment:
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".
Previous Comments:
------------------------------------------------------------------------
[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