StevieD
StevieD

Reputation: 7443

Error installing BerkeleyDB Perl module on mac

I'm having the issue reported here in a smoke test: https://www.cpantesters.org/cpan/report/7bf27c72-faf6-11e6-b513-f49332c4a644

BerkeleyDB.xs:82:2: error: db.h is from Berkeley DB 1.x - need at least Berkeley DB 2.6.4 #error db.h is from Berkeley DB 1.x - need at least Berkeley DB 2.6.4

So looks like the headers on mac for BerkeleyDB are out of date. Is there a way to update them?

I'm on latest version of Catalina as of today, 10.15.4.

Upvotes: 2

Views: 304

Answers (1)

StevieD
StevieD

Reputation: 7443

OK, brew install berkeley-db did the trick.

Upvotes: 3

Related Questions