goaccess: Missing development files for the GeoIP library

Missing development files for the GeoIP library when go to install the GoAccess, shown below: wechatimg3

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 8
  • Comments: 18 (8 by maintainers)

Most upvoted comments

Please install the GeoIP library. Assuming you are using SUSE, you can try:

# zypper search geoip
# zypper in GeoIP libGeoIP1

or you can install from source

$ wget https://github.com/maxmind/geoip-api-c/releases/download/v1.6.11/GeoIP-1.6.11.tar.gz
$ tar -xzvf GeoIP-1.6.11.tar.gz
$ cd GeoIP-1.6.11
$ ./configure
$ make
# make install

then try installing goaccess again.

@xenotropic For legacy you could try sudo apt-get install libgeoip-dev and for mmdb sudo apt-get install libmaxminddb-dev

on Centos 6: sudo yum -y --enablerepo=epel install geoip

also for ubuntu 16 worked:

sudo apt install libmaxminddb-dev

FYI: for OpenSUSE 15.1, I had to zypper install libGeoIP-devel.

Ubuntu:

sudo apt install php5-geoip

To get config to work I had to also remove the --enable-geoip=legacy option that is listed on the goaccess download page.