Bug #16823 Updated: checking native iconv support failed on Solaris 8

From: Date: Sat, 27 Apr 2002 07:16:45 +0000
Subject: Bug #16823 Updated: checking native iconv support failed on Solaris 8
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6204@lists.php.net to get a copy of this message
ID: 16823 Updated by: mingyen_hsu@yahoo.com Reported By: mingyen_hsu@yahoo.com -Status: Feedback +Status: Open Bug Type: ICONV related Operating System: Solaris 8 PHP Version: 4.2.0 New Comment: I've used native iconv with PHP 4.1.2 on Solaris 8 for monthes without any problem. (--with-iconv=/usr) Also, the perl iconv module works fine on my solaris 8 too. my config.log --------------- $ ./configure --with-mysql=/usr/local/mysql --with-openssl=/usr/local/ssl --en able-libgcc --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/ local --with-iconv --with-zlib-dir=/usr/local php -m ---------- Running PHP 4.2.0 Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies [PHP Modules] xml standard session posix pcre openssl mysql gd ctype zlib [Zend Modules] php -m (4.1.2) --------------- aurora:<~/temp/php-4.1.2>-myhsu- ./php -m Running PHP 4.1.2 Zend Engine v1.1.1, Copyright (c) 1998-2001 Zend Technologies [PHP Modules] xml standard session posix pcre openssl mysql iconv gd zlib [Zend Modules] Not Implemented Previous Comments: ------------------------------------------------------------------------ [2002-04-26 11:24:52] sniper@php.net What does 'php -m' output? No iconv extension? Does any other iconv function work? --Jani ------------------------------------------------------------------------ [2002-04-25 23:36:06] mingyen_hsu@yahoo.com The configure works fine with --with-iconv only, however, the binary I made (cgi mode) will complain about "Fatal error: Call to undefined function: iconv()...." the phpinfo() doesn't show any information about iconv. ------------------------------------------------------------------------ [2002-04-25 22:28:57] sniper@php.net This check was changed so that it's possible to link with external library even if the iconv functions are found in libc. Using --with-iconv (without any path) should work fine. --Jani ------------------------------------------------------------------------ [2002-04-25 22:19:22] mingyen_hsu@yahoo.com The native iconv support on Solaris is in libc. I saw the configure will check /usr/include/iconv.h and iconv in libc, c_r, pthread in PHP 4.1.2, but doesn't find the same code in the configure of 4.2.0. It seems there is no libiconv.a on Solaris 8. ------------------------------------------------------------------------ [2002-04-25 21:39:51] sniper@php.net Please check config.log for more information. This might be totally unrelated to iconv. ------------------------------------------------------------------------ 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/16823 -- Edit this bug report at http://bugs.php.net/?id=16823&edit=1

« previous php.bugs (#6204) next »