#39089 [Fbk->Opn]: Missing -liconv during GD configuring fails ./configure run

From: Date: Tue, 03 Apr 2007 14:59:41 +0000
Subject: #39089 [Fbk->Opn]: Missing -liconv during GD configuring fails ./configure run
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111043@lists.php.net to get a copy of this message
ID: 39089 User updated by: suhachov at gmail dot com Reported By: suhachov at gmail dot com -Status: Feedback +Status: Open Bug Type: GD related Operating System: Linux FC PHP Version: 5.1.6 Assigned To: pajoye New Comment: Of course no! I specified it in ./configure option (--with-iconv). And it seems to me that it is ./configure business, to set neccessary envs and paths. Previous Comments: ------------------------------------------------------------------------ [2007-04-02 21:43:09] sniper@php.net Is this paths set in your LD_LIBRARY_PATH or in /etc/ld.so.conf file: /usr/apache-2006-10-10/libiconv-1.9.2/lib/ ?? ------------------------------------------------------------------------ [2006-10-10 12:53:19] suhachov at gmail dot com No. It's still here: /usr/apache-2006-10-10/gd-2.0.33/lib/libgd.so: undefined reference to `libiconv_open' php: php6.0-200610100830 gd: gd-2.0.33 #/usr/apache-2006-10-10/gd-2.0.33/bin/gdlib-config --all GD library 2.0.33 includedir: /usr/apache-2006-10-10/gd-2.0.33/include cflags: -I/usr/apache-2006-10-10/gd-2.0.33/include ldflags: -L/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/apache-2006-10-10/jpeg-6b/lib -L/usr/X11R6/lib libs: -ljpeg -lfreetype -lpng12 -lz -lm /usr/apache-2006-10-10/libiconv-1.9.2/lib/libiconv.so -Wl,-rpath -Wl,/usr/apache-2006-10-10/libiconv-1.9.2/lib libdir: /usr/apache-2006-10-10/gd-2.0.33/lib features: GD_JPEG GD_FREETYPE GD_PNG GD_GIF ------------------------------------------------------------------------ [2006-10-09 16:14:03] pajoye@php.net Can you try with php6 (HEAD), we use gdlib-config and should solve this problem. ------------------------------------------------------------------------ [2006-10-09 12:59:34] suhachov at gmail dot com Thanx, I know. But sometimes even glibc becomes updated... And I think it's very confusing behavior - to allow use "--with-iconv" (for PHP itself) and don't allow to used GD compiled with the same iconv... ------------------------------------------------------------------------ [2006-10-09 09:46:25] tony2001@php.net Linux has libiconv bundled into glibc, no need for external libraries. ------------------------------------------------------------------------ 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/39089 -- Edit this bug report at http://bugs.php.net/?id=39089&edit=1

« previous php.bugs (#111043) next »