[exim] compiling with Oracle support

Top Pagina
Delete this message
Reply to this message
Auteur: Marcos Monge
Datum:  
Aan: exim-users
Onderwerp: [exim] compiling with Oracle support
Hi everybody

I'm trying to compile exim 4.43 with Oracle support, but not success.
The machine is Redhat ES 2.1, with Oracle 9i installed in
/opt/oracle/product/9i.

I haved modify Makefile to activate oracle lookups with:
    LOOKUP_ORACLE=yes
Also I have try to add the oracle lib to LD_LIBRARY_PATH
(/opt/oracle/product/9i/lib). But it's the same.


Any time I try to compile I get this error:
-----------------------------------------------
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'
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
make[1]: Saliendo directorio `/usr/local/src/exim-4.43/build-Linux-i386'
make: *** [go] Error 2
--------------------------------------------------------

Any idea about how to compile cleaning? Some howto about howto compile
exim with Oracle?
I have been searching google but there is nothing that help me.

Thanks in advance
Marcos