net/openldap24-server won't start after bdb5 upgrade

John Marshall john.marshall at riverwillow.com.au
Sun Sep 25 22:14:25 UTC 2011


If net/openldap24-server is built WITH_BDB_VER=5, the server will fail
to load the bdb backend at startup and will fail.

  ----------------
  @(#) $OpenLDAP: slapd 2.4.26 (Sep 26 2011 06:13:10)
  lt_dlopenext failed: (back_bdb) file not found
  config error processing cn=module{0},cn=config: <olcModuleLoad> handler exited with 1
  slapd stopped.
  ----------------

This is because the port doesn't include the BDB backend in the build.
The BDB backend is excluded from the build because the port doesn't
recognize the new BDB version numbering now used in bsd.database.mk.

About a month ago I submitted a simple patch to work around this but I
guess the maintainer has been too busy to look at it.  I just got bitten
again with the recent bdb 5.2.28 --> 5.2.36 upgrade and thought I'd
mention it here.

See ports/160270 for Makefile patch.

-- 
John Marshall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110925/3c6a10ca/attachment.pgp


More information about the freebsd-ports mailing list