+1 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 email@example.com wrote:
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 packages.
- Do I have a chance to build OpenLDAP against those packages? Which
releases have to be aligned?
- Or should I link back-mdb statically into slapd when producing
OpenLDAP 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.
Quanah Gibson-Mount Platform Architect Zimbra, Inc.
Zimbra :: the leader in open source messaging and collaboration