./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.的主要内容,如果未能解决你的问题,请参考以下文章

Error when connecting to the GNS3 server: Cannot connect to http://127.0.0.1:3080. Please check if G

An error occured while deploying the file. This probably means that the app contains ARM native code

Spakr- ERROR Shell: Failed to locate the winutils binary in the hadoop binary path java.io.IOExcepti

Django URLs error: view must be a callable or a list/tuple in the case of include()

Last_SQL_Error: Relay log read failure: Could not parse relay log event entry. The possible reasons(

Last_SQL_Error: Relay log read failure: Could not parse relay log event entry. The possible reasons(