On Tue, Oct 13, 2020 at 09:00:55AM -0700, Quanah Gibson-Mount wrote:
--On Tuesday, October 13, 2020 6:52 PM +0200 Ervin Hegedüs airween@gmail.com wrote:
checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version in db.h... 5 checking for Berkeley DB minor version in db.h... 3 checking if Berkeley DB version supported by BDB/HDB backends... yes checking for Berkeley DB link (-ldb-5.3)... yes checking for Berkeley DB library and header version match... Berkeley DB version mismatch header: Berkeley DB 5.3.21: (May 11, 2012) library: Berkeley DB 5.3.28: (September 9, 2013)
This would indicate a problem with your build environment, not an OpenLDAP issue.
yeah, the problem was the runtime library is installed on the system, but the developing files aren't. So I grabbed the BDB source here:
https://github.com/berkeleydb/libdb
and compiled.
The headers comes from this directory, but when the `configure` script ran the conftest binary, then it loaded the system-wide .so file - which is 5.3.28. (The GH repository contains 5.3.21)
Now it works as well:
$ uname -a Linux 4.19.123 #10 SMP PREEMPT Wed May 20 14:28:59 CEST 2020 mips64 GNU/Linux $ make test ...
0 tests for mdb were skipped.
thanks,
a.