./configure: error: the GeoIP module requires the GeoIP library.
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了./configure: error: the GeoIP module requires the GeoIP library.相关的知识,希望对你有一定的参考价值。
近期安装的nginx的geo的模块在编译nginx的时候遇到报错,报错信息如下:
checking for OpenSSL library ... found checking for zlib library ... found checking for GeoIP library ... not found checking for GeoIP library in /usr/local/ ... not found checking for GeoIP library in /usr/pkg/ ... not found checking for GeoIP library in /opt/local/ ... not found ./configure: error: the GeoIP module requires the GeoIP library. You can either do not enable the module or install the library.
解决办法:
apt-get install libgeoip-dev
本文出自 “精忠报国” 博客,请务必保留此出处http://xinsir.blog.51cto.com/5038915/1745008
以上是关于./configure: error: the GeoIP module requires the GeoIP library.的主要内容,如果未能解决你的问题,请参考以下文章
./configure: error: the HTTP gzip module requires the zlib library.
./configure: error: the HTTP gzip module requires the zlib library.
./configure: error: the GeoIP module requires the GeoIP library.
./configure: error: the HTTP rewrite module requires the PCRE library.
./configure: error: the HTTP rewrite module requires the PCRE library.