FreeBSD, Fatal error: Call to undefined function geoip_country_name_by_name()

By | December 12, 2014

Getting

Fatal error: Call to undefined function geoip_country_name_by_name()

?

Install /usr/ports/net/pecl-geoip

# cd /usr/ports/net/pecl-geoip && make install clean

# "/usr/local/www/awstats/cgi-bin/awstats.pl" -update -config=account.ptiexpress.com -configdir="/usr/local/etc/awstats/"
Error: Plugin load for plugin 'geoipfree' failed with return code: Error: Can't locate Geo/IPfree.pm in @INC (you may need to install the Geo::IPfree module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.18 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.18/mach /usr/local/lib/perl5/5.18 /usr/local/lib/perl5/site_perl/5.18 /usr/local/lib/perl5/site_perl/5.18/mach . /usr/local/www/awstats/cgi-bin/lib /usr/local/www/awstats/cgi-bin/plugins /usr/local/www/awstats/cgi-bin/plugins) at (eval 26) line 1.

# cd /usr/ports/net/p5-Geo-IPfree && make install clean