spf-discuss
[Top] [All Lists]

Conflict with PAM on Exim

2005-01-24 16:18:05
Hi --

I seem to be having trouble compiling Exim when I
include support for both libspf2 and PAM.  If I
remove support for either one, I can compile Exim
just fine.  Since I have previously been using
Slackware as my distro, the PAM support was not
an issue and I have been using libspf2 under
Slackware for some time without difficulty.  This
problem suddenly raised it's ugly head when I
tried FC2 since it is a PAM-based distro.  Can
anyone suggest what I need to do to get Exim to
compile with support for both PAM and libspf2?  I
am appending the compiler complaints.  Thanks for
any input.

     ... doug
gcc -o exim  acl.o child.o crypt16.o daemon.o
dbfn.o debug.o deliver.o directory.o dns.o
drtables.o enq.o exim.o expand.o filter.o
filtertest.o globals.o header.o host.o ip.o log.o
lss.o match.o moan.o os.o parse.o queue.o rda.o
readconf.o receive.o retry.o rewrite.o rfc2047.o
route.o search.o sieve.o smtp_in.o smtp_out.o
spool_in.o spool_out.o store.o string.o tls.o
tod.o transport.o tree.o verify.o local_scan.o
perl.o version.o \
  pcre/libpcre.a \
  routers/routers.a transports/transports.a
lookups/lookups.a \
  auths/auths.a \
  -lresolv -lnsl -lcrypt    \
  -L/usr/local/lib -lspf2 -ldb -lldap -llber  \
  -rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE
 -L/usr/local/lib
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE
-lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread
-lc -lssl -lcrypto
auths/auths.a(call_pam.o)(.text+0x214): In
function `auth_call_pam':
: undefined reference to `pam_start'
auths/auths.a(call_pam.o)(.text+0x230): In
function `auth_call_pam':
: undefined reference to `pam_authenticate'
auths/auths.a(call_pam.o)(.text+0x255): In
function `auth_call_pam':
: undefined reference to `pam_acct_mgmt'
auths/auths.a(call_pam.o)(.text+0x268): In
function `auth_call_pam':
: undefined reference to `pam_end'
auths/auths.a(call_pam.o)(.text+0x2a7): In
function `auth_call_pam':
: undefined reference to `pam_strerror'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory
`/root/work1/exim-4.43/build-Linux-i386'
make: *** [go] Error 2





        
                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail


<Prev in Thread] Current Thread [Next in Thread>