From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 17:08:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A876816A4CE for ; Tue, 26 Oct 2004 17:08:39 +0000 (GMT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24AB343D4C for ; Tue, 26 Oct 2004 17:08:38 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from thought.org (tao [10.0.0.247]) by sage.thought.org (8.12.10/8.12.10) with ESMTP id i9QH9hh0012383; Tue, 26 Oct 2004 10:09:44 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by thought.org (8.12.11/8.12.11) with ESMTP id i9QH8XwW040477; Tue, 26 Oct 2004 10:08:33 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.12.11/8.12.11/Submit) id i9QH8WWj040476; Tue, 26 Oct 2004 10:08:32 -0700 (PDT) (envelope-from kline) Date: Tue, 26 Oct 2004 10:08:32 -0700 From: Gary Kline To: Kris Kennaway Message-ID: <20041026170831.GB40348@thought.org> References: <20041026024356.GA96981@thought.org> <20041026035437.GA30968@xor.obsecurity.org> <20041026045647.GA97200@thought.org> <20041026072623.GA64337@xor.obsecurity.org> <20041026073850.GA97684@thought.org> <20041026160137.GA31869@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041026160137.GA31869@xor.obsecurity.org> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 18 years of service to the Unix community User-Agent: Mutt/1.5.6i cc: Gary Kline cc: FreeBSD Mailing List Subject: Re: lib/pam problems... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 17:08:39 -0000 On Tue, Oct 26, 2004 at 09:01:37AM -0700, Kris Kennaway wrote: > On Tue, Oct 26, 2004 at 12:38:50AM -0700, Gary Kline wrote: > > On Tue, Oct 26, 2004 at 12:26:23AM -0700, Kris Kennaway wrote: > > > > > > > Is your xdm linked to stale (FreeBSD 4.x) libraries? > > > > > > > > Can you humour me and run a ldd on the xdm binary? > > > > > Hm, ahhh, maybe... (!) sure... > > > > root@sartre:/etc# ldd `which xdm` > > /usr/X11R6/bin/xdm: > > libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x2808c000) > > libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x2809a000) > > libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x280af000) > > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x280f9000) > > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28102000) > > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28119000) > > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28127000) > > libXau.so.0 => /usr/X11R6/lib/libXau.so.0 (0x281e5000) > > libXdmcp.so.0 => /usr/X11R6/lib/libXdmcp.so.0 (0x281e8000) > > libpam.so.1 => /usr/lib/libpam.so.1 (0x281ec000) > > libcrypt.so.2 => /lib/libcrypt.so.2 (0x281f6000) > > libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x2820e000) > > libutil.so.3 => /usr/lib/libutil.so.3 (0x28211000) > > libxpg4.so.3 => /usr/lib/libxpg4.so.3 (0x2821a000) > > libc.so.4 => /usr/lib/libc.so.4 (0x2821c000) > ^^^^^^^^^ > > Thought so..that's a 4.x binary. You can't mix 4.x binaries and 5.x > libraries, which is why you're getting the PAM failure from dlopen(). > Rebuild it. > > Kris Rats! I started fresh with my 5.2 CD then upgraded to (I thought) RELENG_5, but ended up building 4.whatever. On my third try i rebuilt using an explicit _5_3 and got 5.3-RELEASE #2. tHere are fewer than 30 ports on my devel box. Would you recommend I portupgrade -fa everything?? you're a gentleman and a scholar, Kris. gary PS: FWIW, my upgrade script did a portclean to get rid of old libs, &c. -- Gary Kline kline@thought.org www.thought.org Public service Unix