您的位置:首页 > 运维架构 > Nginx

linux/ubuntu下安装nginx时./configure后出现几种错误的解决方法

2015-10-07 15:12 741 查看
尽管ubuntu系统下apt-get具体强大软件安装功能,但有时还是需要独立安装软件。

由于nginx的一些模块需要依赖其他第三方库,通常有pcre库(支持rewrite模块)、zlib库(支持gzip模块)、openssl库(支持ssl模块)等

1,错误提示:error:the HTTP rewrite module requires the PCRE library


 

解决方法:sudo apt-get install libpcre3 libpcre3-dev

2,错误提示:error:the HTTP gzip module requires the zlib library



解决方法:sudo apt-get install openssl libssl-dev
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux ubuntu