Sometimes you may get an error while installing GeoDNS  or related packages,

Error :


/usr/local/bind/etc/named.conf:25: undefined ACL 'country_US'
the geo dns does not patch

checking whether the C compiler works... configure: error: cannot run C compiled programs
config.log =>  error while loading shared libraries: libGeoIP

Solution:

Open a ld.so.conf file add the lib path in it,
 
# vim  /etc/ld.so.conf

/usr/local/geoip/lib/

shortest way is execute below command for append a line to that file
 
#  echo "/usr/local/geoip/lib/" >> /etc/ld.so.conf

Finally, install gd library package,
 
#  yum install gd