Statically link is a bad idea in this case, IMHO.
Le 26/09/2015 20:39, Quanah Gibson-Mount a écrit :
--On Saturday, September 26, 2015 8:11 PM +0200 Michael Ströder
> I wonder what's considered best practice for building OpenLDAP and lmdb
> packages e.g. for a Linux distribution.
> Fortunately lmdb seems to be leveraged by more and more other
> software. So
> Linux distributions start to ship lmdb libs and tools as separate
> 1. Do I have a chance to build OpenLDAP against those packages? Which
> releases have to be aligned?
> 2. Or should I link back-mdb statically into slapd when producing
> packages? This would probably also require to build separate version of
> the mdb tools.
OpenLDAP should only ever be statically linked to the version of liblmdb
it ships with.
Zimbra :: the leader in open source messaging and collaboration