nginx on centos 6 requires GeoIP

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
adamjimenez
New Forum User
New Forum User
Posts: 1
Joined: Wed Jul 20, 2011 6:40 am
Location: United Kingdom

nginx on centos 6 requires GeoIP

Unread post by adamjimenez »

I'm trying to install nginx on centos 6, but it causes an error as it requires GeoIP. Please help..
Error: Package: nginx-1.0.0-1.el6.art.x86_64 (atomic)
Requires: libGeoIP.so.1()(64bit)
Error: Package: nginx-1.0.0-1.el6.art.x86_64 (atomic)
Requires: GeoIP
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

BTW thanks for the awesome project!
quicksketch
New Forum User
New Forum User
Posts: 1
Joined: Mon Aug 01, 2011 11:42 pm
Location: Bay Area

Re: nginx on centos 6 requires GeoIP

Unread post by quicksketch »

I've confirmed this issue. I'm guessing that nginx was compiled with the http_geoip_module included, which requires the GeoIP library. You can fix this issue by ensuring you have the GeoIP library first:

Code: Select all

yum install geoip
If the GeoIP library isn't installed, you should add the EPEL repository through rpm and try again. Something like this:

32-bit:

Code: Select all

rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
[/code

64-bit:
[code]
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
Post Reply