GeoIP for configuration into nginx
15,242
Solution 1
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
Solution 2
For Centos/RedHat and other yum-based:
yum provides geoip-devel
In my case it is in epel
repo.
Related videos on Youtube
Author by
Mark Tomlin
Started Using Computers in 1994. Started Programming Computers in 2004. Started Professionally Programming Computers in 2006. Strong Background in HTML, PHP & CSS. Intermediate Background in JavaScript, TypeScript, & Rust. Weak background in C, C++ & PAWN (SmallC).
Updated on September 18, 2022Comments
-
Mark Tomlin almost 2 years
I'm trying to compile geoip into nginx. When doing
./configure --with-http_geoip_module
I get the following error../configure: error: the GeoIP module requires the GeoIP library. You can either do not enable the module or install the library.
I've tried any combination's for trying to find the geoip module for nginx with apt-get and I'm having no luck. If anyone can point me in the correct direction.
-
Mark Tomlin about 11 yearsInsightful answer. I should rephrase the question too "How do I find packages on my system."