memo.xight.org

日々のメモ

iconvでコンパイルエラー

Summary

Solaris 8で PHP make中に以下のエラー

/path/to/php/ext/iconv/iconv.c: In function `zm_startup_miconv':
/path/to/php/ext/iconv/iconv.c:175: `_libiconv_version' undeclared (first use in this function)
/path/to/php/ext/iconv/iconv.c:175: (Each undeclared identifier is reported only once
/path/to/php/ext/iconv/iconv.c:175: for each function it appears in.)

- 対処法
# mv /usr/include/iconv.h /usr/include/iconv.h.bak
# ln /usr/local/include/iconv.h /usr/include/iconv.h

Reference

日本ではたらく社長のブログ | 【備忘録】php5.1インストール
http://ieiriblog.jugem.jp/?eid=659

PHPのインストールでエラー

エラー

fatal : relocation error: file /usr/local/lib/libstdc++.so.6: symbol __eprintf: referenced symbol not found

It works fine without --enable-xslt and
--with-xslt-sablot=/usr/local/.

I may have a Sablotron issue.

- Reference
PHP Resources -> PHP Help - #33425 [Fbk->Opn]: Symbol Referencing Error loading Apache Module __eprintf: referenced symbol not
http://www.php-resources.org/help/article-php.bugs-80819.php
#33425 [Opn->Csd]: Symbol Referencing Error loading Apache Module __eprintf: referenced symbol not
http://www.mail-archive.com/php-bugs@lists.php.net/msg66667.html