GoAccess – Missing development files for the GeoIP library

GoAccess is a web log viewer and analyzer, it also parses logs in realtime. This comes specially handy when you need to understand the traffic your server is getting.

While installing GoAccess on a new server we got the following error:

configure: error:
    *** Missing development files for the GeoIP library

You need to make sure to have the GeoIP and the GeoIP-devel libraries installed. Issue the following to install them:

#CentOS
sudo yum install GeoIP GeoIP-devel

#Ubuntu
sudo apt-get install geoip-bin

That’s it!