近期安装的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.
原文地址:http://xinsir.blog.51cto.com/5038915/1745008