php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16252 try to link the wrong iconv lib when compiling with xmlrpc
Submitted: 2002-03-25 04:32 UTC Modified: 2002-06-30 01:12 UTC
From: alita at neowiz dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.2 OS: FreeBSD 4.5
Private report: No CVE-ID: None
 [2002-03-25 04:32 UTC] alita at neowiz dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-25 07:53 UTC] derick@php.net
How does php 4.2.0 rc 1 work for you (www.php.net/~derick)?

Derick
 [2002-03-26 03:25 UTC] 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-05-15 02:54 UTC] k dot allan-php at au dot darkbluesea dot 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-06-30 01:00 UTC] php-bugs at lists dot php dot 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-06-30 01:12 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 15:01:28 2024 UTC