Posts Tagged ‘geoip’

Howto install GeoIP C API in GNU/Linux

Saturday, August 23rd, 2008

MaxMind’s GeoIP C api is used by various programs to map IP address to locations .
Here is the procedure to install this :
Download the latest source from http://www.maxmind.com/download/geoip/api/c/
mkdir /usr/local/geoip
./configure –prefix=/usr/local/geoip –exec-prefix=/usr/local/geoip
make
make install
Now we have to make the system loader load the shared libraries
Add the following to /etc/ld.so.conf.d/geoip.conf
====
cat /etc/ld.so.conf.d/geoip.conf
/usr/local/geoip/lib
====
ldconfig
If all goes well , you should have [...]