重启httpd报错:
/usr/local/apache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
查看/usr/local/lib/libiconv.so.2 是存在的
第一种解决方法:
/etc/ld.so.conf中添加/usr/local/lib,再执行一下ldconfig
第二种:
ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2
原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/1256.html