php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22281 -liconv missing from EXTRA_LIBS in Makefile
Submitted: 2003-02-18 13:32 UTC Modified: 2003-02-18 16:58 UTC
From: michael at epimorphic dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0 OS: Linux Red Hat 7.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: michael at epimorphic dot com
New email:
PHP Version: OS:

 

 [2003-02-18 13:32 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-18 13:36 UTC] moriyoshi@php.net
Where did you install libiconv? --prefix=??

 [2003-02-18 15:52 UTC] michael at epimorphic dot com
libiconv is in /usr/local/lib.
 [2003-02-18 15:53 UTC] michael at epimorphic dot com
Sorry -- to be clearer:

/usr/local/lib/libiconv.so.2.1.0
/usr/local/lib/libiconv.so.2
/usr/local/lib/libiconv.so
/usr/local/lib/libiconv.la
/usr/local/lib/libiconv_plug.so
 [2003-02-18 16:58 UTC] moriyoshi@php.net
You should specify the actual location of the installed libiconv as --with-iconv=[prefix] at configure.

Then let me mark this report as bogus, since the problem turned out not to be a PHP bug after all.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 27 12:00:01 2025 UTC