Thanks for the input Artur and David. Below are more information.
Again, I did use this version "openssl-SNAP-20021027.tar.gz" when I edited the Makefile for the rlm_eap_tls. Is this version correct? cause I followed the instructions from http://www.impossiblereflex.com/8021x/eap-tls-HOWTO.htm , except that I used the released version of 0.8.1 for freeRadius.
Thanks!
[ichew@sg-dsbu-ws1 lib]# pwd
/usr/local/radius/lib
[ichew@sg-dsbu-ws1 lib]# rpm -qa |grep openssl
openssl-0.9.6b-18 <---existing one on my Redhat Linux 7.1
openssl-devel-0.9.6-3 <----I am not sure if this is the one after I installed the SNAPSHOT version ??
[ichew@sg-dsbu-ws1 lib]# ls -ltr rlm_eap_tls*
-rwxr-xr-x 1 root root 985528 Jan 13 20:09 rlm_eap_tls-0.8.1.so
lrwxrwxrwx 1 root root 20 Jan 13 20:09 rlm_eap_tls.so -> rlm_eap_tls-0.8.1.so
-rwxr-xr-x 1 root root 812 Jan 13 20:09 rlm_eap_tls.la
-rw-r--r-- 1 root root 584292 Jan 13 20:09 rlm_eap_tls.a
lrwxrwxrwx 1 root root 14 Jan 13 20:09 rlm_eap_tls-0.8.1.la -> rlm_eap_tls.la
[ichew@sg-dsbu-ws1 lib]# ldd rlm_eap_tls.so
libnsl.so.1 => /lib/libnsl.so.1 (0x400bb000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400d2000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400e5000)
libc.so.6 => /lib/i686/libc.so.6 (0x400fa000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
[ichew@sg-dsbu-ws1 lib]# ldd rlm_eap_tls-0.8.1.so
libnsl.so.1 => /lib/libnsl.so.1 (0x400bb000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400d2000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400e5000)
libc.so.6 => /lib/i686/libc.so.6 (0x400fa000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
[ichew@sg-dsbu-ws1 lib]# uname -a
Linux sg-dsbu-ws1.cisco.com 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
===============================================================
Message: 6
Date: Mon, 20 Jan 2003 09:51:36 +0100
From: Artur Hecker <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: I have rlm_eap_tls-0.8.1.so: undefinedsymbol:SSL_set_msg_callback
while trying to use EAP/TLS authenticationover LAN
Reply-To: [EMAIL PROTECTED]
Hi Ian
Ian Chew wrote:
>
> Hi! My name is Ian Chew.
>
> I am using the released version of freeRadius
> "freeradius-0.8.1.tar.gz" and used the "openssl-SNAP-20021027.tar.gz"
> for the rlm_eap_tls module during the "make" process of freeRaduis.
>
> [snip]
>
> /usr/local/radius/sbin/radiusd: error while loading shared libraries:
> /usr/local/radius/lib/rlm_eap_tls-0.8.1.so: undefined symbol:
> SSL_set_msg_callback
looks to me like if freeradius uses the older OpenSSL which does not
have this function. please make sure that rlm_eap_tls has been compiled
and linked to the openssl beta-version (0.9.7) or newer and not to some
other openssl lib which may have existed on your system before. (try ldd
at the rlm_eap_tls.so and see what it says).
ciao
artur
--
Artur Hecker
artur[at]hecker.info
