ID: 47507 Updated by: j...@php.net Reported By: aboh24 at gmx dot de -Status: Open +Status: Feedback Bug Type: ICONV related Operating System: Solaris 10 / 64-bit PHP Version: 5.2.9 -Assigned To: +Assigned To: fb-req-jani New Comment:
You should actually read the help not grep for iconv in it and you'd know what the difference is. Now, did you try it or not? Previous Comments: ------------------------------------------------------------------------ [2009-05-07 06:56:45] aboh24 at gmx dot de Sure that I need to use --with-iconv-dir=$PX instead --with-iconv=$PX? Sorry if I ask because the help message of the configure file display vice versa. src/php5.2-200904280430 $ ./configure --help | grep iconv --without-iconv[=DIR] Exclude iconv support --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI However I will test your suggestion soon. --- Is there any more infoamtion I can provide to support you? --- BTW: What does reason: ICONV_IMPL != "libiconv" mean. ------------------------------------------------------------------------ [2009-05-06 20:46:43] j...@php.net I missed this earlier, you're using wrong configure options. Just change the --with-iconv-dir=$PX to --with-iconv=$PX and try again. Note: Do this with clean build dir. Also, do not paste more test result outputs here, they're no value for us. Just telling which tests fail is more useful. ------------------------------------------------------------------------ [2009-02-26 10:29:13] aboh24 at gmx dot de This could maybe useful: user# /usr/lib/iconv/UTF-8%ISO8859-1* /usr/lib/iconv/UTF-8%ISO8859-11.so it is mentioned in the truss output of the test php program: access("/usr/lib/iconv/geniconvtbl/binarytables/UTF-8%ISO-8859-1//TRANSLIT.bt", R_OK) Err#2 ENOENT access("/usr/lib/iconv/UTF-8%ISO-8859-1//TRANSLIT.so", R_OK) Err#2 ENOENT open("/usr/lib/iconv/alias", O_RDONLY) = 3 fstat64(3, 0xFFBFEE60) = 0 mmap(0x00000000, 6311, PROT_READ, MAP_SHARED, 3, 0) = 0xFF3A0000 close(3) = 0 munmap(0xFF3A0000, 6311) = 0 access("/usr/lib/iconv/geniconvtbl/binarytables/UTF-8%ISO-8859-1//TRANSLIT.bt", R_OK) Err#2 ENOENT access("/usr/lib/iconv/UTF-8%ISO-8859-1//TRANSLIT.so", R_OK) Err#2 ENOENT PHP Notice: iconv(): Wrong charset, conversion from `UTF-8' to `ISO-8859-1//TRANSLIT' is not allowed in /test.php on line 13write(2, " P H P N o t i c e : ".., 151) = 151 write(2, "\n", 1) ------------------------------------------------------------------------ [2009-02-26 08:59:45] aboh24 at gmx dot de truss ./test.php ... access("/usr/lib/iconv/geniconvtbl/binarytables/UTF-8%8859-1.bt", R_OK) Err#2 ENOENT access("/usr/lib/iconv/UTF-8%8859-1.so", R_OK) = 0 stat("/usr/lib/iconv/UTF-8%8859-1.so", 0xFFBFE8A0) = 0 resolvepath("/usr/lib/iconv/UTF-8%8859-1.so", "/usr/lib/iconv/UTF-8%8859-1.so", 1023) = 30 open("/usr/lib/iconv/UTF-8%8859-1.so", O_RDONLY) = 4 ... Althoug the php was build with a local libiconv and explicit setting of the prefix-path and LD_LIBRARY_PATH and --with-iconv-dir, etc. the system want to load the iconv from /usr/lib/iconv which do not exists... :-( ------------------------------------------------------------------------ [2009-02-26 07:52:46] aboh24 at gmx dot de I rebuilt the codes with -m32 (this is default and means 32-bit binaries) and it is the same problem. ------------------------------------------------------------------------ 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/47507 -- Edit this bug report at http://bugs.php.net/?id=47507&edit=1