Apple’s implementation is minimal-to-missing. I did a little digging around on this a while ago, and never successfully found an answer. I [i:e7c086c416]think[/i:e7c086c416] there are multiple versions of db support available (not just Berkeley DB 3 and 4), and that the db that Apple has is [i:e7c086c416]really[/i:e7c086c416] old.
If you take a look in /usr/include/db.h, for example, you’ll see that the code dates from early 1994. I can’t tell from the code there which version—or implementation—of db/Berkeley DB it is, but I’m willing to bet it’s not v3 (and am pretty certain it isn’t v4!)
Regardless, all we seem to have is the db.h header file, not the rest of the library.
Be forewarned: if you install a Berkeley DB, you may lose functionality in other applications that have built, e.g., hash-table databases. This will be especially important if you use Postfix. I’m not saying it can’t be done, only that the last time I tried (admittedly, under Server 10.1.x) things got bollixed up.
Comments are closed