|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14342 configure: error: iconv not found
Submitted: 2001-12-04 14:37 UTC Modified: 2001-12-04 16:14 UTC
From: fowler at csufresno dot edu Assigned:
Status: Closed Package: Sablotron XSL
PHP Version: 4.0CVS-2001-12-04 OS: Solaris 8
Private report: No CVE-ID: None
 [2001-12-04 14:37 UTC] fowler at csufresno dot edu
PHP fails to configure with the following options:

./configure \
--with-expat-dir=/usr/local \
--with-sablot=/usr/local \
--enable-xslt \
--with-xslt-sablot \
--with-openssl=/usr/local/ssl \
--with-curl=/opt \
--with-ldap=/usr/local \
--with-mysql \

I receive the following message (summary)

checking whether byte ordering is bigendian... yes
checking whether to enable XML support... yes
checking external libexpat install dir... yes
checking for XMLRPC-EPI support... no
checking libexpat dir for XMLRPC-EPI... yes
checking whether to enable xslt support... yes
checking for XSLT Sablotron backend... yes
checking libexpat dir for Sablotron XSL support... yes
checking for Sablotron libraries in the default path... found Sablotron in /usr/local
checking for iconv_open in -lc... no
configure: error: iconv not found

This problem appears to be similar to the one described in bug id #11654.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-04 14:50 UTC]
What are the last few relevant lines of config.log?

Does it help to specify --with-iconv[=dir] ?

 [2001-12-04 16:07 UTC] fowler at csufresno dot edu
Downloaded and installed libiconv

I used the --with-iconv=/usr/local option during the configure.
I completed successfully.

 [2001-12-04 16:14 UTC]
Installing iconv solved it > closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 19:01:31 2024 UTC