hi,
I'have tried to configure eap-psk on freeradius-server v2.1.x (http://git.freeradius.org/). I have used this hostap version to have libeap.so (git clone git://w1.fi/srv/git/hostap-06.git). I followed the steps below for the compilation of freeradius:

I edited the rlm_eap2/Makefile and indicates the hostapd path and the target.
 # ./configure --with-experimental-modules --with-rlm_eap2
 # make and make install does not provide errors

I commented all the line of eap.conf and add the end :
 eap2{
    psk{}
}
I replaced allow eap in the site-enabled/default by eap2.
when I want to start my server with this command : export LD_PRELOAD=~/eap_example/libeap.so && radiusd -x
I got this message error:
/usr/local/etc/raddb/eap.conf[17]: Failed linking to rlm_eap2 structure: /usr/local/lib/rlm_eap2-2.2.0.so: undefined symbol: rlm_eap2 
/usr/local/etc/raddb/sites-enabled/default[310]: Failed to find "eap2" in the "modules" section.
/usr/local/etc/raddb/sites-enabled/default[252]: Errors parsing authenticate section.

Does any one have any ideas on how to resolve this problem?

Thanks in advance.