Compile it. Try to run it. It won't. ktracing /usr/local/libexec/slapd -d 0 and confirming with ldd shows that it compiles with db3's headers (as specified by the port makefile) but links with /usr/local/lib/libdb4 (if present...as it is on my system). openldap2's configure script specifically checks for db4 and uses it. Fix: One possible fix (to the port makefile): .if exists(/usr/local/lib/libdb4.a) DB_CFLAGS= -I${LOCALBASE}/include/db4 .else DB_CFLAGS= -I${LOCALBASE}/include/db3 .endif [...] CPPFLAGS+= -D_REENTRANT ${PTHREAD_CFLAGS} \ -I${LOCALBASE}/include \ ${DB_CFLAGS} I don't know if openldap2 works fine with db4. It certainly appears to... How-To-Repeat: Compile it. Try to run it. It won't.
State Changed From-To: open->closed Commited, thanks!