Apache编译安装后启动报错: error while loading shared libraries: libiconv.so.2
2013-11-16 00:00
543 查看
[root@test181 httpd-2.0.63]# /application/apache/bin/apachectl start
/application/apache2.0.63/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
apache编译安装完成后启动时出现如上错误,加载libiconv.so.2库是发生错误。
解决:
1.在/etc/ld.so.conf中添加一行:/usr/local/lib
echo "/usr/local/lib" >> /etc/ld.conf
2.运行:/sbin/ldconfig ,问题解决。
ld.so.conf和ldconfig是维护系统动态链接库的
/application/apache2.0.63/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
apache编译安装完成后启动时出现如上错误,加载libiconv.so.2库是发生错误。
解决:
1.在/etc/ld.so.conf中添加一行:/usr/local/lib
echo "/usr/local/lib" >> /etc/ld.conf
2.运行:/sbin/ldconfig ,问题解决。
ld.so.conf和ldconfig是维护系统动态链接库的
相关文章推荐
- 启动APACHE出现“error while loading shared libraries: libiconv.so.2
- 启动APACHE出现“error while loading shared libraries: libiconv.so.2”
- 启动APACHE出现“error while loading shared libraries: libiconv.so.2”
- 启动APACHE出现“error while loading shared libraries: libiconv.so.2”
- Apache启动报错: error while loading shared libraries: libiconv.so.2: cannot open shared object file···
- 解决 Magent 安装编译时出现错误和magent: error while loading shared libraries: libevent-2.0.so.5
- Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- 编译安装postfix, 执行make install时报错: bin/postconf: error while loading shared libraries: libmysqlclient.s
- [置顶] 源码包安装后启动失败 error while loading shared libraries: libinotifytools.so.0: cannot open shared object fil
- error while loading shared libraries: libevent-2.0.so.5 安装好mamcache,启动服务时
- 安装Asterisk 12,启动报错:asterisk: error while loading shared libraries: libjansson.so.4: cannot open shar
- 编译Gmssl出现错误 error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No
- Centos 7编译Android工程出现 error while loading shared libraries: libz.so.1 的问题
- 编译C连接MySQL 提示 error while loading shared libraries: libmysqlclient.so.
- 安装mysql报错—解决方法:error while loading shared libraries: libssl.so.6
- 【FAQ】Gradle编译,error while loading shared libraries: libstdc++.so.6: cannot open shared object file
- error while loading shared libraries: libiconv.so.2
- 启动Memcache,出现memcached: error while loading shared libraries: libevent-1.4.so.1: cannot open shared
- ffmpeg: error while loading shared libraries: libiconv.so.2
- 安装memcached:error while loading shared libraries: libevent-1.4.so.2