Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2002 16:22:35 -0400 (EDT)
From:      Paul Dlug <paul@aps.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44240: openldap2 breaks with multiple versions of Berkley db
Message-ID:  <20021015202235.E3AE1EA9@lugnut.aps.org>

next in thread | raw e-mail | index | archive | help

>Number:         44240
>Category:       ports
>Synopsis:       openldap2 breaks with multiple versions of Berkley db
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 18 14:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paul Dlug
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD lugnut.aps.org 4.7-STABLE FreeBSD 4.7-STABLE #32: Mon Oct 14 09:36:24 EDT 2002 root@lugnut.aps.org:/usr/obj/usr/src/sys/LUGNUT i386


	
>Description:
	When both Berkeley DB 3 and 4 are installed the openldap2 server, slapd, will fail with the error message: "backend_startup: bi_open 1 failed!". Changing the Makefile of the port to point to the include directory: ${LOCALBASE}/include/db4 instead of ${LOCALBASE}/include/db3 fixes this problem. This is obviously not a solution since the port needs to be able to determine the correct DB version for itself. (OpenLDAP reportely works with 3 or 4).
>How-To-Repeat:
	Install /usr/ports/databases/db3 and /usr/ports/databases/db4, then install /usr/ports/net/openldap2. Starting /usr/local/libexec/slapd will fail, to view error messages run /usr/local/libexec/slapd -d -1 for extra debugging. 
>Fix:

	Uninstall db3 or db4 and reinstall the port. Or hack the makefile to use the db4 include files instead of the db3 files.


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021015202235.E3AE1EA9>