Re: [exim] Which libspf2?

Pàgina inicial
Delete this message
Reply to this message
Autor: Andre Nicholson
Data:  
A: exim-users
Assumpte: Re: [exim] Which libspf2?
> Thanks. 1.0.4 compiles, tests and installs.
>
> But then the Exim build fails at link time:
>
> spf.o(.text+0x25): In function `spf_init':
> : undefined reference to `SPF_create_config'
> spf.o(.text+0x51): In function `spf_init':
> : undefined reference to `SPF_dns_create_config_resolv'
> spf.o(.text+0x63): In function `spf_init':
> : undefined reference to `SPF_dns_create_config_cache'
> spf.o(.text+0xab): In function `spf_init':
> : undefined reference to `SPF_set_ip_str'
> spf.o(.text+0xeb): In function `spf_init':
> : undefined reference to `SPF_set_helo_dom'
> spf.o(.text+0x16e): In function `spf_process':
> : undefined reference to `SPF_set_env_from'
> spf.o(.text+0x1ab): In function `spf_process':
> : undefined reference to `SPF_result'
>
> I have -L/usr/lib -lspf2 in LDFLAGS.


Per doc/experimental-spec.txt:

EXTRALIBS_EXIM=-L/usr/lib -lspf2

and not:

LDFLAGS=-L/usr/lib -lspf2

Andre