>On Nov 5, 2003, at 8:36 AM, Andreas Wolf wrote:
>
>>
>> On Nov 5, 2003, at 4:48 AM, Adam Jendrosek wrote:
>>
>>> [EMAIL PROTECTED] wrote:
>>>> When starting Freeradius (latest snap) the program
>>>> crashes with the following message:
>>>> Module: Loaded System
>>>>  unix: cache = no
>>>>  unix: passwd = "(null)"
>>>>  unix: shadow = "(null)"
>>>>  unix: group = "(null)"
>>>>  unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
>>>>  unix: usegroup = no
>>>>  unix: cache_reload = 600
>>>> Module: Instantiated unix (unix)
>>>> Module: Loaded eap
>>>>  eap: default_eap_type = "ttls"
>>>>  eap: timer_expire = 60
>>>>  eap: ignore_unknown_eap_types = no
>>>> /usr/local/sbin/radiusd: relocation error: 
>>>> /usr/local/lib/rlm_eap-1.0.0-pre0.so: undefined symbol: 
>>>> eaptype_name2type
>>>
>>> Look's like somebody have forgotten to add the symbol 
>>> eaptype_name2type into the makefile.
>>> You should use nm or ldd to watch rlm_eap-1.0.0-pre0.so to verify 
>>> this error and modify the appropriate makefile.
>>>
>>
>> like I pointed out earlier yesterday the missing symbol is in 
>> libeap.so.
>> Looks like it just got fixed.
>>
>
>actually, I was wrong, it appears to still be broken.
>I am not an expert with those Makefiles but the adding 
>libeap/eapcommon.c to
>the SRC variable fixed it for me:

>> Index: Makefile.in
>> ===================================================================
>> RCS file: /source/radiusd/src/modules/rlm_eap/Makefile.in,v
>> retrieving revision 1.7
>> diff -r1.7 Makefile.in
>> 2c2
>> < SRCS        = rlm_eap.c eap.c mem.c state.c
>> ---
>> > SRCS        = rlm_eap.c eap.c mem.c state.c libeap/eapcommon.c
>
>'configure' and 'make' again
>
>-Andreas

In the makefile there is the link to the newly introduced libeap
missing,
therefore the correct way to fix it is to add the following line instead

RLM_LIBS = -Llibeap -leap

to the Makefile.in as shown above.

Do a 'clean', 'configure' and 'make' again.

Regards,
Markus

>>> regards,
>>> Adam
>>>


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

Reply via email to