[Exim] compiling exim with pam-support

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Frank Tiemann
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] compiling exim with pam-support
hi,

after i solved my db problem ( i simply switched from gdbm to "tdb"), ive an
other problem - exim wont compile with pam-support. if i enable pam in the
makefile, i get this error:

----------------------------------------------------------------------------
-
auths/auths.a(call_pam.o): In function `auth_call_pam':
call_pam.o(.text+0x172): undefined reference to `pam_start'
call_pam.o(.text+0x18c): undefined reference to `pam_authenticate'
call_pam.o(.text+0x1af): undefined reference to `pam_acct_mgmt'
call_pam.o(.text+0x1c2): undefined reference to `pam_end'
call_pam.o(.text+0x1f0): undefined reference to `pam_strerror'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/src/exim-3.33/build-Linux-i386'
make: *** [go] Error 2
----------------------------------------------------------------------------
-

i included /usr/include/security and (for the linker) -lpam -ldl - the
errormsg is the same.

so, whats wrong?

frank