Re: [exim] compiling with Oracle support

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Marcos Monge
Kopio: exim-users
Aihe: Re: [exim] compiling with Oracle support
On Tue, 26 Oct 2004, Marcos Monge wrote:

> 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  version.o \
>   pcre/libpcre.a \
>   routers/routers.a transports/transports.a lookups/lookups.a \
>   auths/auths.a \
>   -lresolv -lnsl -lcrypt    \
>    -ldb   \

>
> drtables.o(.data+0x208): undefined reference to `oracle_open'


<snip>

You need -lsomething-else in that command to tell it where the Oracle
library is. You can set this in the LOOKUP_LIBS variable in your
Local/Makefile.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book