> On Jan 21, 2019, at 11:41 PM, James Brown <jlbr...@bordo.com.au> wrote: > > Just tried it on MacOS Mojave machine. Sudo make install ends with: > > dict_db.c:768:2: error: "Unsupported Berkeley DB version" > #error "Unsupported Berkeley DB version" > ^ > > I used: > > I tried adding ‘-lda’ to the AUXLIBS string but got the same result. > > I have berkeley-db version 18.1.25 installed via Homebrew. > > Don’t think I had this issue with the previous version of Postfix.
You mean previous version of Berkeley DB. While many projects are moving to semantic versioning, Berkeley DB has no intention of going with the crowd: https://download.oracle.com/otndocs/products/berkeleydb/html/changelog_18_1.html#idm140164927133552 12. The version numbering scheme for Berkeley DB changed from a five-part number to a three-part number of the form <year>.<release>.<build>. This release is numbered 18.1.x, indicating that it is the first release of the year 2018. 18.1.x is the successor to the 6.2.x (also known as 12.2.6.2.x) releases. The third and fourth parameters of db_full_version() are no longer meaningful and are now deprecated; if present, they are are set to zero. [#26743] There's no longer any reason to expect a given version number to convey anything about the API, or for the numbers to not go to infinity and beyond. :-) There's apparently now also an SQLite interface with Berkeley DB as the storage backend. https://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/sql-160887.html though presumably in that case one no longer has a simple key-value datastore. -- Viktor.