[exim] Re: compiling with Oracle support

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Christian Hettler
Dátum:  
Címzett: Marcos Monge
CC: exim-users
Tárgy: [exim] Re: compiling with Oracle support
hi,

On Wed, Oct 27, 2004 at 06:18:05PM +0200, Marcos Monge wrote:
> I have try both, with all the paths to all the libs directory in
> oracle... and it's the same:
>
> LOOKUP_LIBS=-L/usr/lib -L/opt/oracle/product/9i/lib \
> -L/opt/oracle/product/9i/rdbms/lib -L/opt/oracle/product/9i/ctx/lib \
> -L/opt/oracle/product/9i/network/lib
> -L/opt/oracle/product/9i/precomp/lib -lclntsh
>
> and it's the same result:
> -------------------------------------------
> 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 -L/usr/lib -L/opt/oracle/product/9i/lib
> -L/opt/oracle/product/9i/rdbms/lib -L/opt/oracle/product/9i/ctx/lib
> -L/opt/oracle/product/9i/network/lib
> -L/opt/oracle/product/9i/precomp/lib -lclntsh  \

>
> drtables.o(.data+0x208): undefined reference to `oracle_open'
> drtables.o(.data+0x210): undefined reference to `oracle_find'
> drtables.o(.data+0x218): undefined reference to `oracle_tidy'
> drtables.o(.data+0x21c): undefined reference to `oracle_quote'
> collect2: ld returned 1 exit status
> make[1]: *** [exim] Error 1
> ----------------------------------------------------------------
>
> I also have try to search for "oracle_open" in the libs directory, and
> don't fine any file with it...


oracle_open is in exim-X.XX/src/lookups/oracle.c
There is no oracle.o in the objects lines above
Did you specify LOOKUP_ORACLE=yes in src/EDITME


> Any idea?
>
> Thanks in advance


bye,
Christian