From owner-freebsd-ports@FreeBSD.ORG Thu Mar 16 05:46:48 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8637116A420 for ; Thu, 16 Mar 2006 05:46:48 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1843D43D46 for ; Thu, 16 Mar 2006 05:46:48 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 5077F62C925 for ; Thu, 16 Mar 2006 01:46:47 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84803-09 for ; Thu, 16 Mar 2006 01:46:47 -0400 (AST) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id F018862C84C for ; Thu, 16 Mar 2006 01:46:46 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id 43C8E5C137; Thu, 16 Mar 2006 01:46:46 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 4148049BE4 for ; Thu, 16 Mar 2006 01:46:46 -0400 (AST) Date: Thu, 16 Mar 2006 01:46:46 -0400 (AST) From: "Marc G. Fournier" To: freebsd-ports@freebsd.org Message-ID: <20060316014419.A1178@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org Subject: Why isn't Berkeley DB being included in slapd? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 05:46:48 -0000 # ldd /usr/local/libexec/slapd /usr/local/libexec/slapd: libldap_r-2.3.so.2 => /usr/local/lib/libldap_r-2.3.so.2 (0x2812f000) liblber-2.3.so.2 => /usr/local/lib/liblber-2.3.so.2 (0x2816a000) libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x28175000) libssl.so.3 => /usr/lib/libssl.so.3 (0x2818a000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x281b9000) libfetch.so.3 => /usr/lib/libfetch.so.3 (0x282b0000) libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x282bd000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x282bf000) libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x282d8000) libwrap.so.3 => /usr/lib/libwrap.so.3 (0x282e0000) libc_r.so.4 => /usr/lib/libc_r.so.4 (0x282e8000) libc.so.4 => /usr/lib/libc.so.4 (0x2839f000) I have WITH_BDB=true in the options: # cat /var/db/ports/openldap23/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for openldap-server-2.3.19 _OPTIONS_READ=openldap-server-2.3.19 WITH_SASL=true WITHOUT_PERL=true WITH_SHELL=true WITHOUT_ODBC=true WITHOUT_SLP=true WITHOUT_SLAPI=true WITH_TCP_WRAPPERS=true WITH_BDB=true WITHOUT_DYNGROUP=true WITHOUT_PROXYCACHE=true WITH_ACI=true WITHOUT_UNIQUE=true WITHOUT_PPOLICY=true WITHOUT_SYNCPROV=true WITHOUT_RWM=true WITH_DYNAMIC_BACKENDS=true WITHOUT_RCORDER=true And configure is finding it: checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version... 3 checking for Berkeley DB minor version... 3 checking for Berkeley DB link (-ldb3)... yes checking for Berkeley DB version match... yes checking for Berkeley DB thread support... yes But its not included as a list of built in libraries, nor will slapd start when I try to use it as the backend: # /usr/local/etc/rc.d/slapd.sh start Starting slapd. Unrecognized database type (bdb) Thanks ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664