RE: [Exim] problem with compiling exim

Top Page
Delete this message
Reply to this message
Author: mohammad.meskarian
Date:  
To: 'Nico Erfurth'
CC: exim-users
Subject: RE: [Exim] problem with compiling exim
Dear Thanks
I add following line.
To Local/Makefile
EXTRA_LIBS = -lpam
But still I get same error.
Really I don't know how can I add this value.
Thanks


-----Original Message-----
From: Nico Erfurth [mailto:masta@perlgolf.de]
Sent: Thursday, August 29, 2002 6:50 AM
To: mohammad.meskarian
Cc: exim-users@???
Subject: Re: [Exim] problem with compiling exim

mohammad.meskarian wrote:
> Dears
>  Thanks about your last comment
>   I am trying to compile exim with smtp authentication enable.
>   I uncomment two line.
>    AUTH_PLAINTEXT=yes
>    SUPPORT_PAM=yes
>  But during compile I received this message

>
> cc -o exim accept.o child.o daemon.o dbfn.o debug.o deliver.o

direct.o
> directory.o dns.o  drtables.o exim.o expand.o filter.o globals.o
> header.o host.o log.o match.o moan.o os.o parse.o queue.o readconf.o
> retry.o rewrite.o route.o search.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
> version.o \
>   libident/libident.a pcre/libpcre.a directors/directors.a \
>   routers/routers.a transports/transports.a lookups/lookups.a \
>   auths/auths.a \
>   -lnsl -lcrypt     \
>   -ldb -lresolv
> expand.o: In function `eval_condition':
> expand.o(.text+0xdc4): undefined reference to `auth_call_pam'
> collect2: ld returned 1 exit status
> make[1]: *** [exim] Error 1
> make[1]: Leaving directory `/usr/src/exim/exim-3.36/build-Linux-i386'
> make: *** [go] Error 2
> debian:/usr/src/exim/exim-3.36#

>
> after I receive this message I tried without Authentication it seems
> successful.
> But when I try to run exim . first I couldn't find any executable

file
> then I tried
> /usr/exim/bin . however it is not executable file and it is binary

file
> .


You need to add -lpam to your EXTRA_LIBS in the Local/Makefile, RTFM