bind v9.16.2 build, inconsistent GeoIP2 configuration options usage ?

PGNet Dev pgnet.dev at gmail.com
Wed Apr 15 21:46:46 UTC 2020


On 4/15/20 1:50 PM, Ondřej Surý wrote:
> you are right this is a bit confusing, but you need to specify both:
> 
> --enable-geoip (as the feature independent of used libraries)
> --with-maxmindsb (where to find the libraries)

thx

i'd also suggest 

-	--with-maxmiddb

+	--with-libmaxmiddb


to match

  pkg-config --list-all | grep max
    libmaxminddb                   libmaxminddb - C library for the MaxMind DB file format



this

  --with-maxmindsb

suggests to enter the location of the DBs (as spec'd with 'geoip-directory' in named.conf)

doing so will pass config with no error, but then FAIL in 'make' step.

shouldn't config _check_ for a valid lib in any path spec'd in 

  --with-maxmindsb=/path/to/

?


More information about the bind-users mailing list