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

From: Date: Fri, 26 Apr 2002 03:36:06 +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-6054@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: *Configuration Issues Operating System: Solaris 8 PHP Version: 4.2.0 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2002-04-25 08:05:05] mingyen_hsu@yahoo.com ./configure --with-iconv=/usr on Solaris 8 failed in PHP 4.2.0, it is ok in PHP 4.1.2 4.2.0: ----- checking for iconv support... yes configure: error: Please reinstall the iconv library. 4.1.2: ----- checking for iconv support... yes checking for iconv_open in -lc... (cached) yes ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16823&edit=1

« previous php.bugs (#6054) next »