[Dovecot] PAM libraries not found

Jan van den Berg jan.vandenberg at isp.solcon.nl
Mon Feb 18 11:12:24 EET 2008


Im still curious about this:

" Also, when configuring, what does (auto) mean (--with-pam (auto)):
it's confusing. It gives the impression that, like (default), this
option is added 'automatically'. "

Cheers,

Jan

-----Oorspronkelijk bericht-----
Van: dovecot-bounces+jan.vandenberg=isp.solcon.nl at dovecot.org
[mailto:dovecot-bounces+jan.vandenberg=isp.solcon.nl at dovecot.org] Namens
Jan van den Berg
Verzonden: vrijdag 15 februari 2008 11:32
Aan: Dovecot Mailing List
Onderwerp: [Dovecot] PAM libraries not found

When I add the --with-pam option in my configure command I get the
following error:

 

checking for pam_start in -lpam... no

configure: error: Can't build with PAM support: libpam not found

 

PAM is most certainly installed on the  machine: 

ii  libpam-modules                    0.79-5
Pluggable Authentication Modules for PAM

ii  libpam-runtime                    0.79-5
Runtime support for the PAM library

ii  libpam0g                          0.79-5
Pluggable Authentication Modules library

 

 

Dovecot from package worked just fine with PAM. Also this file already
exists:

cat /etc/pam.d/dovecot

#%PAM-1.0

 

@include common-auth

@include common-account

@include common-session

 

I have run ldconfig etc. And I have the following files (all in /lib):

/lib/libpamc.so.0

/lib/libpamc.so.0.79

/lib/libpam_misc.so.0

/lib/libpam_misc.so.0.79

/lib/libpam.so.0

/lib/libpam.so.0.79

 

So it seems that configure is not checking the right places for the
libpam library? How can I tell it to look in /lib?

 

Also what does (auto) mean (--with-pam (auto)): it's confusing. It gives
the impression that, like (default), this option is added
'automatically'.

 

Cheers,

 

Jan



More information about the dovecot mailing list