I'v compiled fresh verison FreeRADIUS (Version 1.1.0) from http://www.freeradius.org/ but i'v got error on program startup: Module: Loaded eap eap: default_eap_type = "md5" eap: timer_expire = 60 eap: ignore_unknown_eap_types = no eap: cisco_accounting_username_bug = no radiusd: symbol lookup error: /usr/lib/freeradius/rlm_eap.so: undefined symbol: eaptype_name2type [root@ring freeradius-1.1.0]# ldd /usr/lib/freeradius/rlm_eap.so libssl.so.4 => /lib/libssl.so.4 (0x00128000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x00158000) libnsl.so.1 => /lib/libnsl.so.1 (0x00253000) libresolv.so.2 => /lib/libresolv.so.2 (0x00268000) libpthread.so.0 => /lib/libpthread.so.0 (0x0027b000) libc.so.6 => /lib/libc.so.6 (0x002ce000) libdl.so.2 => /lib/libdl.so.2 (0x003db000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) [root@ring rlm_eap]# uname -a Linux ring.local 2.4.26-std-up-alt13 #1 Mon Nov 14 00:25:14 MSK 2005 i686 unknown unknown GNU/Linux
Anton Gorlov wrote:
I'v compiled fresh verison FreeRADIUS (Version 1.1.0) from http://www.freeradius.org/ but i'v got error on program startup:
Module: Loaded eap eap: default_eap_type = "md5" eap: timer_expire = 60 eap: ignore_unknown_eap_types = no eap: cisco_accounting_username_bug = no radiusd: symbol lookup error: /usr/lib/freeradius/rlm_eap.so: undefined symbol: eaptype_name2type [root@ring freeradius-1.1.0]# ldd /usr/lib/freeradius/rlm_eap.so libssl.so.4 => /lib/libssl.so.4 (0x00128000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x00158000) libnsl.so.1 => /lib/libnsl.so.1 (0x00253000) libresolv.so.2 => /lib/libresolv.so.2 (0x00268000) libpthread.so.0 => /lib/libpthread.so.0 (0x0027b000) libc.so.6 => /lib/libc.so.6 (0x002ce000) libdl.so.2 => /lib/libdl.so.2 (0x003db000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
I don't see libeap.so in the output of ldd. Something is wrong here, because rlm_eap depends on libeap. You could try to re-build FreeRADIUS with "./configure --disable-shared". -- Nicolas Baradakis
Nicolas Baradakis пишет:
I don't see libeap.so in the output of ldd. Something is wrong here, because rlm_eap depends on libeap. You could try to re-build FreeRADIUS with "./configure --disable-shared".
It is undesirable to use static libraries. I have found similar problem in the Internet: ===== Adding -leap -L../../libeap to the RLM_LIBS line in src/modules/rlm_eap/types/rlm_eap_ttls/Makefile fixed that, but I'm almost positive that's not the right solution. It means rlm_eap_ttls.so shows rlm_eap.so in its ldd output. http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg03597.h... ====
Nicolas Baradakis пишет:
You could try to re-build FreeRADIUS with "./configure --disable-shared". It is undesirable to use static libraries. Then you could try to build FreeRADIUS from a CVS snapshot: the build process of rlm_eap and libeap should work better. freenibs not build from cvs.
configure: warning: CC=gcc: invalid host type configure: warning: CFLAGS=-pipe -Wall -O2 -march=i686: invalid host type configure: error: can only configure for one host and one target at a time configure: error: /bin/sh './configure' failed for src/modules/rlm_nibs
participants (2)
-
Anton Gorlov -
Nicolas Baradakis