#31193 [Opn->Fbk]: iconv.c:254 undefined reference to 'libiconv'

From: Date: Mon, 10 Jan 2005 14:03:27 +0000
Subject: #31193 [Opn->Fbk]: iconv.c:254 undefined reference to 'libiconv'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71711@lists.php.net to get a copy of this message
 ID:               31193
 Updated by:       sniper@php.net
 Reported By:      david at cubbieco dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: linux gcc-3.2
 PHP Version:      5.0.3
 New Comment:

What's the actual error?



Previous Comments:
------------------------------------------------------------------------

[2004-12-20 09:12:04] david at cubbieco dot com

Description:
------------
Using either ./configure with no options or
./configure --prefix=/... --enable-sockets --enable-pcntl
--enable-sockets --disable-pear --disable-cgi

Fails when building -o sapi/cli/php





Reproduce code:
---------------
SOLUTION:

Makefile  ends up being line 70

EXTRA_LIBS = -lcrypt ...

if you add -liconv to the EXTRA_LIBS line in Makefile then Make works
just fine.

I don't know enough about ./configure to find where to tell it to add
this.


tried: ./configure -- failed with libiconv error
./configure --enable-sockets --disable-pear --disable-cgi failed with
libiconv error
./configure --with-apxs2=/... failed with liniconv error 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31193&edit=1


Thread (18 messages)

« previous php.bugs (#71711) next »