From:             david at cubbieco dot com
Operating system: linux gcc-3.2 
PHP version:      5.0.3
PHP Bug Type:     Compile Failure
Bug description:  iconv.c:254 undefined reference to 'libiconv'

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 bug report at http://bugs.php.net/?id=31193&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31193&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31193&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31193&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31193&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31193&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31193&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31193&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31193&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31193&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31193&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31193&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31193&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31193&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31193&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31193&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31193&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31193&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31193&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31193&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31193&r=mysqlcfg

Reply via email to