[Dovecot] Dovecot not compiling with pam

Jorge Ruao jruao at fe.up.pt
Fri Aug 22 12:45:09 EEST 2008


Hi,

I'm new here in the list so Hello to everyone!

I'm compiling dovecot 1.0.10 with pam support in SLES 9 but i'm getting 
errors in config.log and it won't compile with pam support.

Here are the results:

s1:~/dovecot-1.0.10# ./configure --with-pam | grep pam
checking for pam_start in -lpam... no

and in config.log:

configure:28830: checking for pam_start in -lpam
configure:28865: gcc -o conftest -std=gnu99 -g -O2 -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith 
-Wchar-subscripts -Wformat=2 -Wbad-function-cast   conftest.c -lpam   >&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: 
cannot find -lpam

I have all libpam libraries in /lib and ldconfig is giving ok:
s1:~/dovecot-1.0.10# ldconfig -v | grep pam
         libpam.so.0 -> libpam.so.0.77
         libpam_misc.so.0 -> libpam_misc.so.0.77
         libpamc.so.0 -> libpamc.so.0.77

Any help or directions would be great!

Thanks,
Jorge


More information about the dovecot mailing list