[exim] compile errors on AMD64

Top Page
Delete this message
Reply to this message
Author: Ronan McGlue
Date:  
To: exim-users
New-Topics: [exim] run-time errors on AMD64
Subject: [exim] compile errors on AMD64
from make

[snip]

awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc -c -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/include/db4 
  -I/usr/local/ssl/include/ version.c
rm -f exim
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  malware.o 
mime.o regex.o spam.o spool_mbox.o demime.o bmi_spam.o spf.o srs.o dk.o 
version.o \
   pcre/libpcre.a \
   routers/routers.a transports/transports.a lookups/lookups.a \
   auths/auths.a \
   -lresolv -lnsl -lcrypt    \
    -ldb4 -L/usr/local/lib/ldap -lldap -llber   \
    -L/usr/local/ssl/lib -lssl -lcrypto
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4f): In function 
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xe7): In function 
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x14d): In function 
`dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x20c): In function 
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2dc): In function 
`dlfcn_bind_func':
: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/home/exim/exim-4.51/build-Linux-x86_64'
make: *** [go] Error 2


any clues??

--
========

Regards

Ronan McGlue
Info. Services
QUB