我正在尝试将geoip编译成nginx。 在做./configure --with-http_geoip_module出现以下错误。
./configure: error: the GeoIP module requires the GeoIP library. You can either do not enable the module or install the library.
我试过任何组合的尝试find与apt-get nginx的geoip模块,我没有运气。 如果有人能指出我正确的方向。
root@ip-10-112-39-42:~# apt-cache search geoip .... libgeoip-dev - Development files for the GeoIP library .... root@ip-10-112-39-42:~# apt-get install libgeoip-dev
对于Centos / RedHat和其他基于yum的:
yum provides geoip-devel
在我的情况是在epel回购。