[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7209) Changes to libraries/libmdb/mdb.c needed to build on FreeBSD

4glitch@gmail.com wrote:
> Full_Name: Dmitri Bogomolov
> Version: 2.4.28
> OS: Gentoo/FreeBSD
> URL: ftp://ftp.openldap.org/incoming/dmitri-bogomolov-120314.patch
> Submission from: (NULL) (
> As I can see, FreeBSD have no O_DSYNC, no fdatasync(fd). I've been able to build
> openldap-2.4.30 with trivial fix.
> Can you please include it in next version?

No. Compile with -DMDB_SYNC and -DMDB_FDATASYNC yourself like it says in the 
comments in mdb.c.

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/