I have no idea what library and/or binary you are referring to in your post, but I have been using webalizer for quite awhile. I simply run "webazolver" prior to running webalizer in the cron script I created. By running webazolver first, the DNSCache file can be specified in the webalizer .conf file and the resulting country graphs and charts will be created.
FWIW: Heres the cron job I use:
Code:
#!/bin/bash
# Update the DNS cache for each virtual site. Each site is configured with its
# own log directory.
for dir in /var/log/httpd/*/access_log; do
if [ -s $dir ] ; then
/usr/bin/webazolver -Q -N 10 -D /tmp/webalizer/dns_cache.db $dir
fi
done
# Generate a webalizer report for each virtual. Each virtual has its own
# webalizer .conf file.
for conf in /etc/webalizer/*.conf; do
if [ -s $conf ] ; then
/usr/bin/webalizer -Q -c $conf >/dev/null 2>&1
fi
done
exit 0