From owner-freebsd-current@FreeBSD.ORG Mon Dec 1 05:25:39 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C17C16A704 for ; Mon, 1 Dec 2003 05:25:39 -0800 (PST) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id E56DA43FE1 for ; Mon, 1 Dec 2003 05:25:37 -0800 (PST) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.celabo.org (Postfix) with ESMTP id 7407C54883; Mon, 1 Dec 2003 07:25:37 -0600 (CST) Received: by madman.celabo.org (Postfix, from userid 1001) id 15A836D455; Mon, 1 Dec 2003 07:25:37 -0600 (CST) Date: Mon, 1 Dec 2003 07:25:37 -0600 From: "Jacques A. Vidrine" To: Sean McNeil Message-ID: <20031201132536.GA99018@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Sean McNeil , freebsd-current@freebsd.org References: <1070260627.23876.2.camel@blue.mcneil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1070260627.23876.2.camel@blue.mcneil.com> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.4i-ja.1 cc: freebsd-current@freebsd.org Subject: Re: problem with kerberos startup and LDAP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 13:25:39 -0000 On Sun, Nov 30, 2003 at 10:37:08PM -0800, Sean McNeil wrote: > Hello All, > > I was having trouble with startup and kdc/kadmin5 failing. Turns out > that they were trying to access a shared library in /usr/local/lib > (libldap.so.2). Unfortunately, both were getting started before > ldconfig. > > I added ldconfig to the REQUIRE: for kerberos and now all is well. > > What should be the correct solution? Let's see: What implementation of Kerberos? (Heimdal, MIT?) Installed as part of the base system, from the Ports Collection, or by hand? The correct solutions are: (a) Do not build Kerberos against OpenLDAP if you do not use LDAP functionality. (b) When building Kerberos, make certain that the linker flags include an appropriate setting for RPATH, e.g. `-rpath /usr/local/lib'. Cheers, -- Jacques Vidrine NTT/Verio SME FreeBSD UNIX Heimdal nectar@celabo.org jvidrine@verio.net nectar@freebsd.org nectar@kth.se