Bug #16252: try to link the wrong iconv lib when compiling with xmlrpc
| From: | alita at neowiz dot com | Date: | Mon, 25 Mar 2002 09:32:11 +0000 |
| Subject: | Bug #16252: try to link the wrong iconv lib when compiling with xmlrpc | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3267@lists.php.net to get a copy of this message | ||
From: alita@neowiz.com
Operating system: FreeBSD 4.5
PHP version: 4.1.2
PHP Bug Type: Compile Failure
Bug description: try to link the wrong iconv lib when compiling with xmlrpc
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 bug report at http://bugs.php.net/?id=16252&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16252&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16252&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16252&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16252&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16252&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16252&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16252&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16252&r=submittedtwice