ok, use csw lib iconv that contains: /opt/csw/lib/preloadable_libiconv.so
but, when i restart apache, pldd gave me:
webservd 22436 22422 0 16:40:57 ? 0:00
/usr/apache2/2.2/bin/httpd -k start
***@server# pldd 22436|grep icon
/opt/csw/lib/preloadable_libiconv.so
/usr/php/5.2/modules/iconv.so
but unfortunately, it doesn't work yet:
PHP Notice: iconv() [<a href='function.iconv'>function.iconv</a>]:
Unknown error (88) in ...
the error code has changed
2011/5/4 gerard henry <solarg87-***@public.gmane.org <mailto:solarg87-***@public.gmane.org>>
great! but where is preloadable_libiconv.so in b134?
# pkg search preloadable_libiconv.so
INDEX ACTION VALUE PACKAGE
basename file usr/gnu/lib/amd64/preloadable_libiconv.so
pkg:/SUNWgnu-***@0.5.11-0.75
basename file usr/gnu/lib/preloadable_libiconv.so
pkg:/SUNWgnu-***@0.5.11-0.75
basename file usr/gnu/lib/amd64/preloadable_libiconv.so
pkg:/SUNWgnu-***@0.5.11-0.79
basename file usr/gnu/lib/preloadable_libiconv.so
pkg:/SUNWgnu-***@0.5.11-0.79
basename file usr/gnu/lib/amd64/preloadable_libiconv.so
pkg:/SUNWgnu-***@0.5.11-0.75
basename file usr/gnu/lib/preloadable_libiconv.so
pkg:/SUNWgnu-***@0.5.11-0.75
SUNWgnu-libiconv disappeared in b134 or am i not looking at the
right file?
2011/5/4 Randy Jones <randy-***@public.gmane.org
<mailto:randy-***@public.gmane.org>>
On 05/04/11 07:05, gerard henry wrote:
hello all,
my web server is b134, apache22, php 5.2:
# pkg search -l /usr/php/5.2/modules/iconv.so
INDEX ACTION VALUE PACKAGE
path file usr/php/5.2/modules/iconv.so
pkg:/web/php-***@5.2.12-0.134.0.2
i'm trying the first example given here:
http://www.php.net/manual/en/function.iconv.php
and it fails with the message:
PHP Notice: iconv() [<a
href='function.iconv'>function.iconv</a>]: Unknown error
(22) in ...
Does it mean that i forgot to configure something, or is it
a problem with the current php lib?
thanks in advance fo help,
gerard
Maybe you are seeing this bug:
http://bugs.php.net/bug.php?id=53005
Don't know whether this affects opensolaris but is certainly
affects Solaris 10.
The LD_PRELOAD_64 (or LD_PRELOAD_32) work around mentioned will
work.
--
------------------------------------------------------------------------
Randy Jones
Systems Administrator
Great Plains Mfg., Inc.
1525 E North St
PO Box 5060
Salina, KS USA 67401
email: randy-***@public.gmane.org <mailto:randy-***@public.gmane.org>
Phone: 785-823-3276
Fax: 785-667-2695
------------------------------------------------------------------------