摘要: 1、yum list|grep libxxx如果有这个包,就yum -y install libxxx libxxx-devel安装2、如果没有,下载源码包,编译安装3、安装完成之后,还是找不到,可以find一下看到底有没有这个文件 find / -name libxxx*4、如果find找到了这个文件,但是程序启动的时候就是报错说找不到,这时候牛x的命令就要登场了strace /home... 阅读全文
posted @ 2017-11-30 10:59 yangrz 阅读(1038) 评论(0) 推荐(0) 编辑
摘要: 编译安装完php-fpm,启动时报错:error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory解决办法如下:1.在/etc/ld.so.conf中加一行/usr/local/lib, 2.然后运行/sbin/ldconfig,文件解决,... 阅读全文
posted @ 2017-11-30 10:56 yangrz 阅读(4210) 评论(0) 推荐(0) 编辑