#33141 [WFx->Csd]: libiconv dependency in gd extension not accounted for by linker

From: Date: Tue, 03 Jan 2006 13:21:30 +0000
Subject: #33141 [WFx->Csd]: libiconv dependency in gd extension not accounted for by linker
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91391@lists.php.net to get a copy of this message
 ID:               33141
 Updated by:       sniper@php.net
 Reported By:      liamr at umich dot edu
-Status:           Wont fix
+Status:           Closed
 Bug Type:         GD related
 Operating System: Linux 2.4.28, Solaris 10
 PHP Version:      5.0.4, 4.3.11, 5.1.0RC1
 Assigned To:      pajoye
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2005-08-19 14:04:26] pajoye@php.net

We cannot fix that now.

With the unicode, mbstring will be useless here.

Sorry, do it manually until php and unicode are available in a release.

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

[2005-08-19 14:00:33] sniper@php.net

Also by using --disable-mbstring it will work fine..


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

[2005-08-19 13:07:07] tuupola@php.net

And as suggested, adding -liconv to EXTRA_LIBS in Makefile by hand
fixes the problem.

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

[2005-08-19 12:47:58] tuupola at appelsiini dot net

Same problem with Solaris 10 and the latest snapshot
(php5-200508190830).

./configure --with-apxs=/usr/local/apache/bin/apxs --with-zlib
--with-jpeg-dir --with-png-dir
--with-config-file-path=/usr/local/apache/conf --with-gd
--with-freetype-dir=/usr/sfw --enable-gd-native-ttf --with-pgsql
--with-dom --enable-mbstring --with-xmlrpc

Make dies with:

Undefined                       first referenced
 symbol                             in file
libiconv_close                      ext/gd/libgd/.libs/gdkanji.o
libiconv_open                       ext/gd/libgd/.libs/gdkanji.o
libiconv                            ext/gd/libgd/.libs/gdkanji.o
ld: fatal: Symbol referencing errors. No output written to
sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

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

[2005-06-28 00:00:32] ntoge at amber dot plala dot or dot jp

With php5-200506272030 exact the same problem as my posting of Jun 12
is recurring. BTW, when I do grep on ./configure --help, I get -
[php5-200506272030]$ ./configure --help | grep iconv
  --without-iconv[=DIR]   Exclude iconv support
  --with-iconv-dir=DIR      XMLRPC-EPI: iconv dir for XMLRPC-EP
tony2001, are you saying that you are not seeing this, or this option
actually is null? This option is not helping resolve the problem
anyways, though.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/33141

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


Thread (11 messages)

« previous php.bugs (#91391) next »