hi Nikhil


in my case i have:

radius:/usr/local/lib# ldd rlm_eap_tls-0.8-pre.so
libnsl.so.1 => /lib/libnsl.so.1 (0x400df000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400f3000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40104000)
libc.so.6 => /lib/libc.so.6 (0x40118000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

no ssl no crypto at all (see later for explanation). and as you see i'm still using the 0.8 prerelease... (i think it works since the 0.5 though).


LD_LIBRARY_PATH=/usr/local/openssl/lib
LD_PRELOAD=/usr/local/openssl/lib/libcrypto.so
I tried to add /usr/local/openssl before /usr/local in the /etc/ld.so.conf.
in the ld.so.conf i have /usr/local/lib as the forelast entry. try to play with it. but anyway, what i said before was wrong since i don't have the ssl and crypto in the ld config. it was wrong especially because in the /usr/lib/openssl/lib i don't have any so files, only static a-libs. so, i'm sorry for the inconvenience.

that's what you should have in your Makefile:

TARGET = rlm_eap_tls
SRCS = rlm_eap_tls.c eap_tls.c cb.c tls.c mppe_keys.c
RLM_CFLAGS = $(INCLTDL) -I../.. -I/usr/local/openssl/include
HEADERS = eap_tls.h
RLM_INSTALL =
RLM_INSTALL=

RLM_LDFLAGS += -L/usr/local/openssl/lib
RLM_LIBS += -lssl -lcrypto

$(STATIC_OBJS): $(HEADERS)

$(DYNAMIC_OBJS): $(HEADERS)

RLM_DIR=../../
include ${RLM_DIR}../rules.mak


ciao
artur


--
Artur Hecker Groupe Acc�s et Mobilit�
hecker[at]enst[dot]fr D�partement Informatique et R�seaux
+33 1 45 81 7507 46, rue Barrault 75634 Paris cedex 13
http://www.infres.enst.fr ENST Paris


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Reply via email to