Re: [exim] Which libspf2?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Peter Bowyer
Ημερομηνία:  
Προς: Exim Users Mailing List
Αντικείμενο: Re: [exim] Which libspf2?
On 12/05/05, Andre Nicholson <andre@???> wrote:
> > 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


.. and per the sample Makefile:

# Uncomment the following lines to add SPF support. You need to have libspf2
# installed on your system (www.libspf2.org). Depending on where it is installed
# you may have to edit the CFLAGS and LDFLAGS lines.

Anyhow, they both do the same thing to the ld command line, and both
produce the linker errors above.

Any more suggestions, anyone?

Thanks

Peter
--
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???