#39089 [Opn->Bgs]: Missing -liconv during GD configuring fails ./configure run
| From: | tony2001@php.net | Date: | Mon, 09 Oct 2006 09:46:25 +0000 |
| Subject: | #39089 [Opn->Bgs]: Missing -liconv during GD configuring fails ./configure run | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103284@lists.php.net to get a copy of this message | ||
ID: 39089
Updated by: tony2001@php.net
Reported By: suhachov at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: *Compile Issues
Operating System: Linux FC
PHP Version: 5.1.6
New Comment:
Linux has libiconv bundled into glibc, no need for external libraries.
Previous Comments:
------------------------------------------------------------------------
[2006-10-09 08:43:24] suhachov at gmail dot com
Description:
------------
1. cd gd-2.0.33
2. ./configure --with-iconv-prefix=/path/to/iconv \
--prefix=/path/to/gd \
...
3. make
4. make install
5. cd ../php-5.1.6
6. ./configure --with-gd=/path/to/gd \
--with-iconv=/path/to/iconv \
...
# (fails on GD tests with compile errors:
# unresolved symbol libiconv_open ...)
# adding LDFLAGS="-L/path/to/iconv -liconv" to ./configure
# solves this problem, but adds another one:
# HAVE_DLOPEN becomes undefined: #undef HAVE_DLOPEN.
I've solved this problem with removing "--with-iconv-prefix" from GD,
but it broke my heart :)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39089&edit=1