./configure: error: the GeoIP module requires the GeoIP library.

简介:

近期安装的nginx的geo的模块在编译nginx的时候遇到报错,报错信息如下:

1
2
3
4
5
6
7
8
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.

解决办法:

 

1
apt-get  install  libgeoip-dev










本文转自 xinsir999 51CTO博客,原文链接:http://blog.51cto.com/xinsir/1745008,如需转载请自行联系原作者
目录
相关文章
|
应用服务中间件 nginx C语言
3分钟教你搞定 nginx 编译安装报错:error: the HTTP rewrite module requires the PCRE library.
3分钟教你搞定 nginx 编译安装报错:error: the HTTP rewrite module requires the PCRE library.
3809 0
3分钟教你搞定 nginx 编译安装报错:error: the HTTP rewrite module requires the PCRE library.
|
应用服务中间件 网络安全 nginx
./configure: error: SSL modules require the OpenSSL library.
CentOS 6.5 下 安装 Tengine 执行配置命令./configure  时提示以下错误: ./configure: error: SSL modules require the OpenSSL library.
1940 0
You must install signalwire-client-c to build mod_signalwire
You must install signalwire-client-c to build mod_signalwire
201 0
|
开发工具 git
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
118 0
ImportError: No module named _internal
ImportError: No module named _internal
90 0
|
NoSQL Python
解决gdb报错:Failed to import the site module,No module named '_sysconfigdata_m'
解决gdb报错:Failed to import the site module,No module named '_sysconfigdata_m'
378 0
|
应用服务中间件 Linux nginx
./configure: error: C compiler cc is not found
./configure: error: C compiler cc is not found
744 0
|
Shell 开发工具 C语言
php-7.3.13 configure: error: Please reinstall the libzip distribution
php-7.3.13 configure: error: Please reinstall the libzip distribution
235 0
php-7.3.13 configure: error: Please reinstall the libzip distribution
You must install signalwire-client-c to build mod_signalwire。
You must install signalwire-client-c to build mod_signalwire。
347 0
./configure: error: the HTTP rewrite module requires the PCRE library.
CentOS 6.5 下 安装 Tengine 执行配置命令./configure  时提示以下错误: ./configure: error: the HTTP rewrite module requires the PCRE library.
1521 0