compiling samba with pam, but it's not finding the libraries

Dan Nicholson dbn.lists at gmail.com
Sun Sep 2 08:33:52 PDT 2007


On 9/2/07, Randy McMurchy <randy at linuxfromscratch.org> wrote:
>
> (Hint: one is so.0.81.3 and the other is so.0.81.6)
>
> Your PAM installation needs fixing.

Randy, maybe we should make this a little more robust so the .so
versions aren't hardcoded (although, they're probably entities in the
book source). I've been using a loop with readlink in my script. I
think the following would work.

mv -v /usr/lib/libpam*.so.0* /lib &&
for lib in libpam{,c,misc}.so; do
    link=`readlink /usr/lib/$lib` &&
    ln -v -sf ../../lib/$link /usr/lib/$lib
done

--
Dan



More information about the blfs-support mailing list