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

Alan arwomack01 at webbyhome.com
Sun Sep 2 08:01:11 PDT 2007


see interspersed

On 9/2/07, Dan Nicholson <dbn.lists at gmail.com> wrote:
> On 9/2/07, Alan <arwomack01 at webbyhome.com> wrote:
> > checking whether to build mount.cifs and umount.cifs... yes
> > checking whether to try PAM support... yes
> > checking security/pam_appl.h usability... yes
> > checking security/pam_appl.h presence... yes
> > checking for security/pam_appl.h... yes
> > checking for pam_get_data in -lpam... no
> > configure: error: --with-pam=yes but libpam not found
>
> The second to last line either means it couldn't find libpam or that
> it didn't have the function pam_get_data. You'll have to look near the
> end of config.log.

#define WITH_SMBMOUNT 1
#define WITH_CIFSMOUNT 1
#define HAVE_SECURITY_PAM_APPL_H 1

>  Also, check that the libpam.so symlink in /usr/lib
> is actually correct.

lfs at webby2:~$ ls -l ../../lib/libpam.so.0.81.6
-rwxr-xr-x 1 root root 139818 Jun  1 12:25 ../../lib/libpam.so.0.81.6

that is where /usr/lib/libpam.so points to.

Alan



More information about the blfs-support mailing list