Hello! I have Kamikaze 7.09 on a Linksys WRT54GL v1.1. I installed and configured Freeradius for WPA-Enterprise, but when trying to startup, I get a segmentation fault:

root@OpenWrt:/usr/lib# radiusd -X -A
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/freeradius/clients.conf
Config:   including file: /etc/freeradius/eap.conf
 main: prefix = "/usr"
 main: localstatedir = "/var"
 main: logdir = "/var/log/radius"
 main: libdir = "/usr/lib/freeradius"
 main: radacctdir = "/var/log/radius/radacct"
 main: hostname_lookups = no
 main: max_request_time = 30
 main: cleanup_delay = 5
 main: max_requests = 256
 main: delete_blocked_requests = 0
 main: port = 1812
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = "/var/log/radius/radius.log"
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/var/run/radiusd.pid"
 main: user = "(null)"
 main: group = "(null)"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/sbin/checkrad"
 main: proxy_requests = yes
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
read_config_files:  reading clients
read_config_files:  reading realms
Segmentation fault

There are some posts in the forum archive relating to Freeradius, but they appear at different positions in the startup process. Normal configurations found on the internet usually display this, so the problem is in the "modules setup":

[...]
read_config_files: reading clients
read_config_files: reading realms
radiusd: entering modules setup
[...]

I am only using EAP-TTLS and Livingston "users" file, but even if the module is commented in /etc/freeradius/radiusd.conf, the segmentation fault still appears. The packages I used are from the RC5 Backports:

[...]
freeradius - 1.1.1-1 -
freeradius-democerts - 1.1.1-1 -
freeradius-mod-eap - 1.1.1-1 -
freeradius-mod-eap-md5 - 1.1.1-1 -
freeradius-mod-eap-tls - 1.1.1-1 -
freeradius-mod-eap-ttls - 1.1.1-1 -
libltdl - 1.5.22-1 -
libopenssl - 0.9.8e-1 -
libpthread - 0.9.28-10 -
zlib - 1.2.3-4 -
[...]

The most probable hint I could find was mentioned in this thread saying

The new OpenSSL packages totally break FreeRADIUS. Don't install the OpenSSL packages if you're using WPA Enterprise.
After symlinking /usr/lib/libssl.so.0.9.7 and /usr/lib/libcrypto.so.0.9.7 to /usr/lib/libssl.so.0.9.8 and /usr/lib/libcrypto.so.0.9.8, I get a segfault when authenticating against RADIUS

I also had to symlink the missing 0.9.7 OpenSSL libraries to 0.9.8. Does anybody know a workaround for this problem?