[SA-exim] wont compile exim4.14/sa-exim/dlopen 3.0 ?

Anton Emilov tony at sagabg.net
Tue May 13 18:43:13 PDT 2003


      Sorry If I am asking stupid question but I am new to sa-exim.

      I followed strictly the build instructions but it appears I have
      missed something. I am trying to build exim 4.14 with sa-exim
      3.0 and dlopen patch on Debian box

      Though I applied the patch

      patch -p1 < ../sa-exim-3.0/localscan_dlopen.patch

      I am getting

gcc -o exim -rdynamic 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 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 route.o search.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
local_scan.o: In function `local_scan':
local_scan.o(.text+0x3c): undefined reference to `dlerror'
local_scan.o: In function `load_local_scan_library':
local_scan.o(.text+0xc9): undefined reference to `dlopen'
local_scan.o(.text+0xed): undefined reference to `dlsym'
local_scan.o(.text+0xfd): undefined reference to `dlclose'
local_scan.o(.text+0x11e): undefined reference to `dlsym'
local_scan.o(.text+0x12e): undefined reference to `dlclose'
local_scan.o(.text+0x14e): undefined reference to `dlclose'
local_scan.o(.text+0x179): undefined reference to `dlclose'
local_scan.o(.text+0x1a0): undefined reference to `dlsym'
local_scan.o(.text+0x1bc): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/root/exim-4.14/build-Linux-i386'
make: *** [go] Error 2
      

I had similiar problem with exim 4.12

If someone can tell me what I have missed
thanks in advance

-- 
Best,
 Anton




More information about the SA-Exim mailing list