Re: [Exim] problem with compiling exim

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Nico Erfurth
Fecha:  
A: mohammad.meskarian
Cc: exim-users
Asunto: 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