On Thu, 13 Sep 2001, Gildas PERROT wrote:

> As I mentionned in a previous email, I tried to compile it on Redhat 6.2
> with openssl 0.9.6b without success :

0.9.6b is a beta release, and as such it compiles to a static (.a) libary
rather than a dynamic (.so) library. Kannel's makefile is set up to pick
up and use the dynamic version. Added to this is that /usr/local/ssl/lib
is not generally in your /etc/ld.so.conf so it doesn't generally get
picked up unless you explicitly point the compiler at it.

To get it to compile, 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





-- 
                              - [EMAIL PROTECTED] -
                       = Zygo Communications, London UK =
             -= 82 AA 4D 7F D8 45 58 05  6D 1B 1A 72 1E DB 31 B5 =-
                          Funny, It Worked Last Time...


Reply via email to