[Exim] what version of openssl ?

Top Page
Delete this message
Reply to this message
Author: Tamas TEVESZ
Date:  
To: exim-users
Subject: [Exim] what version of openssl ?
hi,

again i'm trying to compile exim with crypto support, but now
determined to get it working :) at the linking stage, the process
stops with:

[...]
ry.o dns.o drtables.o exim.o expand.o filter.o globals.o header.o
host.o log.o match.o moan.o os.o parse.o queue.o readconf.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 perl.o
version.o \
  -lident -lpcre directors/directors.a \
  routers/routers.a transports/transports.a lookups/lookups.a \
  auths/auths.a \
  -lnsl -lcrypt -lpam     \
  -ldb -lresolv -lmysqlclient -rdynamic  -L/usr/local/lib
/usr/lib/perl5/5.005/i386-linux/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.005/i386-linux/CORE -lperl -lnsl -lndbm -lgdbm
-ldbm -ldb -ldl -lm -lc -lposix -lcrypt -lssl -lcrypto
tls.o: In function `tls_init':
/home/ice/w/exim/build/exim-3.22/build-Linux-i386/tls.c:369: undefined
reference to `OpenSSL_add_ssl_algorithms'
/home/ice/w/exim/build/exim-3.22/build-Linux-i386/tls.c:422: undefined
reference to `RAND_status'
/home/ice/w/exim/build/exim-3.22/build-Linux-i386/tls.c:432: undefined
reference to `RAND_status'
collect2: ld returned 1 exit status


somewhat earlier to that i see a

gcc -c -O2 -g -Wall -I/usr/include/openssl -I. tls.c
tls.c: In function `tls_init':
tls.c:369: warning: implicit declaration of function
`OpenSSL_add_ssl_algorithms'
tls.c:422: warning: implicit declaration of function `RAND_status'

the ssl and crypto libs are in /usr/lib, -I set accordingly.

i have

ii  libssl09       0.9.4-5        SSL shared libraries
ii  libssl09-dev   0.9.4-5        SSL development libraries
ii  openssl        0.9.4-5        Secure Socket Layer and related


installed (standard debian potato). in Local/Makefile (actually in
build-Linux-i386/Makefile) i also have

SUPPORT_TLS=yes
TLS_LIBS=-lssl -lcrypto
TLS_LIBS=-lssl -lcrypto     // why is this doubled, damned if i know
TLS_INCLUDE=-I/usr/include/openssl


question is, is this openssl library sufficient to build exim with ssl
support ? if not, which one is needed ? if yes, what could i be doing
wrong ?

TIA,

--
[-]
<Andras> sawfish, icewm theme-mel, vagy icewm, sawfish theme-mel?