Hi all,

Gildas PERROT schrieb:
> I have a problem to make Kannel with SSL support. I have openssl 0.9.6b in
> /usr/local/lib and ./configure --enable-ssl says :
> 
> /usr/local/lib/libssl.a(ssl_algs.o): In function `SSL_library_init':
> ssl_algs.o(.text+0xf): undefined reference to `EVP_des_cbc'
> ssl_algs.o(.text+0x15): undefined reference to `EVP_add_cipher'
> ssl_algs.o(.text+0x1a): undefined reference to `EVP_des_ede3_cbc'
> ssl_algs.o(.text+0x20): undefined reference to `EVP_add_cipher'
> ssl_algs.o(.text+0x25): undefined reference to `EVP_idea_cbc'
> ssl_algs.o(.text+0x2b): undefined reference to `EVP_add_cipher'
> .....
> .....
> 
> To get it to compile, I have to edit the Makefile LIBS and CFLAGS to read
> 
> > LIBS=-lresolv -lpthread -lnsl -lm  -L/usr/local/lib -L/usr/local/ssl/lib \
> >      -lxml2 -lz -lm -lssl -lcrypto
> >
> > CFLAGS=-D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml \
> >      -I/usr/local/include -I/usr/local/ssl/include -DBROKEN_PTHREADS=1 \
> >      -DHAVE_LIBSSL
> 
> Any idea about the problem ?

yep, on most system you need to link against libcrypto.a to include
SSL specfic crypto routines. Jarkko didn't do this for his SSL client
patch.

The configure.in has to be revised to ensure this.

> BTW, when approximatively do you expect to insert docs about your SSL server
> support ?

this evening.

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

M�nsterstr. 248
40470 D�sseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Reply via email to