make[1]: *** [install-pear-installer] Error 127

Installing PEAR environment:      /usr/local/webserver/httpd-2.2.19/php/lib/php/
/data/software/php-5.2.17/sapi/cli/php: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2php

可是在/usr/local/lib下卻能找到libiconv.so.2web

解決方法是將/usr/local/lib路徑添加到/etc/ld.so.conf文件中,
vi /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/local/libapi

# make installide

php編譯成功了server

相關文章
相關標籤/搜索