LNMP安装问题实录
2011-01-13 23:03
423 查看
1、ubuntu安装nginx后,测试配置文件总出现如下错误:
/usr/local/nginx/sbin/nginx -t
/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
解决办法:
2、MySQL编译过程中提示:
/bin/rm: cannot remove `libtoolt': No such file or directory
1、安装libtool包
2、分别执行以下三条命令:
3、error: Sorry expat.h not found, is libexpat and libexpat-dev installed?
If not already installed, install automake, autoconf, libtool
If not already installed, install xsltproc
If not already installed, install expat library and devel packages
/usr/local/nginx/sbin/nginx -t
/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
解决办法:
ln -s /usr/local/lib/libpcre.so.0 /usr/lib/libpcre.so.0
2、MySQL编译过程中提示:
/bin/rm: cannot remove `libtoolt': No such file or directory
1、安装libtool包
# yum -y install libtool
2、分别执行以下三条命令:
# autoreconf --force --install # libtoolize --automake --force # automake --force --add-missing 再重新编译
3、error: Sorry expat.h not found, is libexpat and libexpat-dev installed?
If not already installed, install automake, autoconf, libtool
$ sudo yum install automake autoconf libtool
If not already installed, install xsltproc
$ sudo yum install xsltproc
If not already installed, install expat library and devel packages
$ sudo yum install expat expat-devel
相关文章推荐
- lnmp一键安装包,啥问题都可以解决
- linux 源码安装lnmp+memcache(问题纠正整理)
- mac 上vagrant 安装lnmp,配置域名访问不进去的问题,已解决
- LNMP编译安装常见问题
- lnmp 继承环境安装后,使用navicat 链接mysql 10038问题
- lnmp一键安装包搭建的环境,mysql在局域网内连接不上的问题
- 详细的Tomcat 8.5.12安装配置问题操作实录
- LNMP一键安装包PHP和Niginx 文件上传大小限制问题解决方法
- mac安装lnmp环境中php扩展遇到的问题
- lnmp 安装环境之后discuz论坛排版乱的问题
- lnmp一键安装包下wordpress的ftp上传问题
- 使用lnmp一键安装包后yum源出现的问题与解决
- LNMP之编译安装PHP出现的问题
- lnmp安装问题
- Centos6.2_X86_64 _LNMP安装全程实录
- LNMP一键包安装后解决MySQL无法远程连接问题
- 关于yum与源码安装的LAMP或LNMP网页直接显示空白页的问题?
- LNMP整合安装Redmine2.3实录
- LNMP之编译安装PHP出现的问题
- 编译安装lnmp及问题解决