Discovered that if db-4.2 is used (meaning that the --with-dblib=db-4.2 flag must be passed to the configure script and obviously db-4.2* must be required), webalizer DOES NOT get the following error that usually occurs when --enable-dns and --enable-geoip are used at the same time: dns_resolv.o: In function `dns_resolver': dns_resolv.c:(.text+0x43c): undefined reference to `__db185_open_4002' dns_resolv.o: In function `open_cache': dns_resolv.c:(.text+0x14f1): undefined reference to `__db185_open_4002' collect2: ld returned 1 exit status make: *** [webalizer] Error 1 Unless I'm missing something here, shouldn't the ebuilds team update the webalizer ebuild to use db-4.2 so that we can reverse resolve IPs and get better country TLD resolution at the same time instead of either/or? Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 69394 [details] Modified webalizer ebuild
Oops, I also forgot to note that using --enable-dns and --enable-geoip together supposedly caused some users to experience segmentation faults. This has apparently been fixed in a version of the geolizer patch that is not yet part of the portage tree (20050520). Experimentation reveals that if --with-dblib=db-4.2 is used and --with-db=/usr/include/db4.2/ is used, then --enable-dns and --enable-geoip can indeed be used at the same time with no segfaults. I included my modified ebuild above for reference...
reassigning
in -r12.