Alan,

Thanks for the reply...

On Tuesday, August 12, 2003, at 03:44 PM, Alan DeKok wrote:

Tommy Hann <[EMAIL PROTECTED]> wrote:
rlm_eap: Failed to link EAP-Type/md5: file not found
radiusd.conf[596]: eap: Module instantiation failed.

radiusd works if I disable the EAP module (including MD5 and LEAP) in
radiusd.conf, but EAP is specifically what I'm trying to test. I
searched the mail list archives, but didn't find information pertaining
to this error.

EAP doesn't work well on *any* architecture, when statically linked. The issue with the MAC is that the standard libtool/dynamic linker code doesn't work, for reasons I've never been able to figure out.

  To fix it, you can add 'rlm_eap_md5.a' to the list of objects in
src/main/Makefile, for 'radiusd'.  You'll probably have to put in a
full pathname, but it should work.

I'm not a programmer by any means, but I've played around with programming as a hobby. I've never worked with large projects like this one so please forgive me for my ignorance. Here's what I changed in src/main/Makefile:


radiusd: $(SERVER_OBJS) ../lib/libradius.a $(MODULE_OBJS) ../modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.a
$(LIBTOOL) --mode=link $(CC) -export-dynamic -dlopen self \
$(CFLAGS) $(LDFLAGS) -o $@ \
$(SERVER_OBJS) $(LCRYPT) $(LIBS) \
$(PTHREADLIB) $(LIBLTDL) $(MODULE_LIBS) ../modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.a


I also tried the full path. Is this what you meant? It compiles fine, but I still get the same error.

Thanks,

-Tommy


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

Reply via email to