Re: PHP 5.2.8 fails to find libiconv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ro Achterberg wrote:
Hi,

I'm attempting to install PHP 5.2.8 on CentOS 5.2 x86_64. The glibc iconv doesn't seem to function very well, leading to a bunch of failed tests when running 'make test' (see below). After a bit of Googling I stumbled upon http://nl2.php.net/manual/en/intro.iconv.php which suggests to install libiconv instead of relying on glibc's iconv, when things go wrong.

My configure line reads as follows:

./configure --prefix=/chroot/apache2/php --with-apxs2=/chroot/apache2/bin/apxs --disable-cgi --with-zlib --with-gettext --enable-sockets --with-xmlrpc --with-xsl --with-config-file-path=/php/etc --with-mcrypt --enable-mbregex --with-gd --with-mime-magic=/usr/share/mime/magic --enable-mbstring=all --with-openssl --with-mysql=/chroot/mysql --with-curl=/usr/lib64 --enable-zip --with-freetype-dir=/usr/lib64 --with-png-dir --with-jpeg-dir --with-libdir=lib64 --with-gnu-ld --with-iconv=/usr/local/lib

which yields the following result:

--------
checking for iconv support... yes
configure: error: Please reinstall the iconv library.
--------

what's in config.log ?

Configure runs fine when I omit the path in the --with-iconv directive, but that will use glibc's iconv, which results in the following failed tests when running make check:

You might have more luck asking on the installs list (http://www.php.net/mailing-lists.php).


--
Postgresql & php tutorials
http://www.designmagick.com/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux