#22281 [Fbk->Opn]: -liconv missing from EXTRA_LIBS in Makefile
| From: | michael at epimorphic dot com | Date: | Tue, 18 Feb 2003 21:52:05 +0000 |
| Subject: | #22281 [Fbk->Opn]: -liconv missing from EXTRA_LIBS in Makefile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33469@lists.php.net to get a copy of this message | ||
ID: 22281
User updated by: michael at epimorphic dot com
Reported By: michael at epimorphic dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Linux Red Hat 7.3
PHP Version: 4.3.0
New Comment:
libiconv is in /usr/local/lib.
Previous Comments:
------------------------------------------------------------------------
[2003-02-18 13:36:31] moriyoshi@php.net
Where did you install libiconv? --prefix=??
------------------------------------------------------------------------
[2003-02-18 13:32:56] michael at epimorphic dot com
PROBLEM
With PHP 4.3.0 and libiconv-1.8, ./configure ... succeeds, but compile
fails right at the end, complaining that various references related to
iconv are undefined.
FIX (hack)
Add -liconv to EXTRA_LIBS in the Makefile.
PHP CONFIGURE:
./configure --with-pear --with-curl --with-gettext --with-iconv
--with-mcrypt --with-mhash --with-openssl --with-pspell --with-zlib
--with-imap --with-imap-ssl --with-mm --with-xslt-sablot=/usr/local
--with-sablot-js=/usr/local --enable-mime-magic --enable-sockets
--enable-wddx --enable-xslt --with-java --with-expat-dir=/usr/local/
--with-xmlrpc --with-config-file-path=/etc --enable-magic-quotes
--with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22281&edit=1