From owner-freebsd-questions@FreeBSD.ORG Mon Dec 28 08:29:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D7E6106566C for ; Mon, 28 Dec 2009 08:29:49 +0000 (UTC) (envelope-from frank@shute.org.uk) Received: from atmail-15.bnguk.net (atmail-15.bnguk.net [80.74.253.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5C71D8FC19 for ; Mon, 28 Dec 2009 08:29:49 +0000 (UTC) Received: from 77-44-105-82.xdsl.murphx.net ([77.44.105.82] helo=orange.esperance-linux.co.uk) by atmail-15.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1NPAyr-0003nw-64; Mon, 28 Dec 2009 08:29:33 +0000 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 233BC4AC20; Mon, 28 Dec 2009 08:29:31 +0000 (GMT) Date: Mon, 28 Dec 2009 08:29:31 +0000 From: Frank Shute To: APseudoUtopia Message-ID: <20091228082931.GA32994@orange.esperance-linux.co.uk> Mail-Followup-To: APseudoUtopia , FreeBSD Questions References: <27ade5280912271913v3f50ff8aua4e7d6647cc6a949@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27ade5280912271913v3f50ff8aua4e7d6647cc6a949@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.0-RELEASE-p1 amd64 X-Organisation: 'shute.org.uk' Cc: FreeBSD Questions Subject: Re: atrun: Missing Shared Object: libpam X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 08:29:49 -0000 On Sun, Dec 27, 2009 at 10:13:11PM -0500, APseudoUtopia wrote: > > # /usr/libexec/atrun > /libexec/ld-elf.so.1: Shared object "libpam.so.4" not found, required by "atrun" > > # find / -type f -name "libpam*" -ls > 3274162 284 -r--r--r-- 1 root wheel > 143412 Dec 5 04:48 /usr/lib/libpam.a > 3273935 56 -r--r--r-- 1 root wheel > 28296 Dec 4 20:33 /usr/lib/libpam.so.5 > > # uname -a > FreeBSD x.x.x 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sat Dec 5 > 04:15:16 UTC 2009 root@x.x.x:/usr/obj/usr/src/sys/TTR i386 > > Is there a way to recompile at to use the new libpam library (5, > instead of 4), without having to compile and/or install all of world? > > Thanks. Yes, there is but what else hasn't been built/installed when you upgraded to 8.0? Did you miss out a step in the buildworld/installworld procedure or have a problem? It looks like the libraries have been built and installed correctly but atrun hasn't been. What's the date on the atrun binary? You can build atrun on it's own by: # cd /usr/src/libexec/atrun # make # make install Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html