Compiling and iconv
| From: | Ray Hauge | Date: | Fri, 11 Aug 2006 16:00:42 +0000 |
| Subject: | Compiling and iconv | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-240545@lists.php.net to get a copy of this message | ||
I use Slackware linux, and XMLRPC is not compiled in by default with my
distro, so I'm compiling PHP myself. It's always been a simple enough task.
First I get and install the required xmlrpc-epi libraries, and then I compile
PHP telling it where I just installed them. Now I get this error message:
undefined reference to `libiconv'
when compiling PHP. I did some searching, and the only thing I've found in
reference to this error was a bug in version 4.3.10. Has anyone run into
this issue, or have some suggestions?
I have checked that /usr/include/iconv.h is there, and it defines all the
iconv_* and iconv compiler flags etc. I can also vouch that using iconv on
the command line works just fine.
Thanks,
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099