Check BDB version for compatibility.