atrun: Missing Shared Object: libpam

Frank Shute frank at shute.org.uk
Mon Dec 28 08:29:49 UTC 2009


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 at 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




More information about the freebsd-questions mailing list