eap2 in freeradius

chuckz boris.pozdech at gmail.com
Sat Apr 2 18:30:30 CEST 2011


Thanks Allan for your answer, but can I ask some things about building or
linking libeap.so? I have read I guess all comments  you posted about this
thing and I followed them.
but after I used LD_PRELOAD suddenly output changed to: 
radiusd: symbol lookup error: /home/boris/.git/hostap/eap_example/libeap.so:
undefined symbol: wpabuf_put

and when I enter command ldd -d libeap.so, I saw this.

boris at bo:~/.git/hostap/eap_example$ ldd -d  libeap.so 
	linux-gate.so.1 =>  (0x00812000)
	libc.so.6 => /lib/libc.so.6 (0x00390000)
	/lib/ld-linux.so.2 (0x00a04000)
undefined symbol: wpabuf_put	(./libeap.so)
undefined symbol: fips186_2_prf	(./libeap.so)
undefined symbol: sha1_vector	(./libeap.so)
undefined symbol: wpa_hexdump_key	(./libeap.so)
undefined symbol: wpa_printf	(./libeap.so)
undefined symbol: wpa_hexdump_ascii	(./libeap.so)
undefined symbol: wpa_hexdump	(./libeap.so)
undefined symbol: hmac_sha1_vector	(./libeap.so)
undefined symbol: aes_128_cbc_decrypt	(./libeap.so)
undefined symbol: os_zalloc	(./libeap.so)
undefined symbol: wpabuf_alloc	(./libeap.so)
undefined symbol: wpabuf_free	(./libeap.so)
undefined symbol: wpabuf_resize	(./libeap.so)
undefined symbol: random_get_bytes	(./libeap.so)
undefined symbol: aes_128_cbc_encrypt	(./libeap.so)
undefined symbol: wpabuf_dup	(./libeap.so)
undefined symbol: sha256_vector	(./libeap.so)
undefined symbol: hexstr2bin	(./libeap.so)
undefined symbol: wpa_hexdump_ascii_key	(./libeap.so)
undefined symbol: os_strlcpy	(./libeap.so)
undefined symbol: eloop_register_read_sock	(./libeap.so)
undefined symbol: eloop_unregister_read_sock	(./libeap.so)
undefined symbol: os_get_time	(./libeap.so)
undefined symbol: wpa_snprintf_hex	(./libeap.so)

I though, that I made shared library libeap.so right, but I'm confused, what
I made wrong. Makefile, that's creating libeap.so include OBJS_both +=
../src/crypto/libcrypto.a which define all these symbols. 
I tried to run command nm you posted here, but Ubuntu 10.10 doesn't
recognize it.
Could you help me withthis staff about linking, please?

Thank you so much


--
View this message in context: http://freeradius.1045715.n5.nabble.com/eap2-in-freeradius-tp2794234p4277857.html
Sent from the FreeRadius - Dev mailing list archive at Nabble.com.



More information about the Freeradius-Devel mailing list