Ubuntu FreeRadius does not recoginize some perl.so symbols and does not compile from source and is also outdated (Why is there no new version in SID? Is the package still maintained?)

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sun Jul 21 15:18:37 CEST 2013


> * Starting FreeRADIUS daemon freeradius
> Can't load '/usr/lib/perl5/auto/Authen/Krb5/Simple/Simple.so' for module Authen::Krb5::Simple: /usr/lib/perl5/auto/Authen/Krb5/Simple/Simple.so: undefined symbol: PL_thr_key at /usr/lib/perl/5.14/DynaLoader.pm line 184.

Possibly this?

http://www.perlmonks.org/?node_id=1008893

> commit c86003daabfd7db7249c7259db48a5cc1aa2fb01
> Author: Alan T. DeKok <aland at freeradius.org>
> Date:   Thu Jan 20 16:01:17 2011 +0100
> 
>    Add $(LIBRADIUS) to allow it to link
> 
> diff --git a/src/modules/rlm_eap/Makefile.in b/src/modules/rlm_eap/Makefile.in
> index 1e20588..5576294 100644
> --- a/src/modules/rlm_eap/Makefile.in
> +++ b/src/modules/rlm_eap/Makefile.in
> @@ -6,7 +6,7 @@ TARGET      = @targetname@
> SRCS        = rlm_eap.c eap.c mem.c
> HEADERS     = eap.h rlm_eap.h
> RLM_CFLAGS  = $(INCLTDL) -Ilibeap
> -CLIENTLIBS  = libeap/$(LIBPREFIX)freeradius-eap.la
> +CLIENTLIBS  = libeap/$(LIBPREFIX)freeradius-eap.la $(LIBRADIUS)
> RLM_LIBS    = libeap/$(LIBPREFIX)freeradius-eap.la $(LIBLTDL)
> RLM_INSTALL = install-subdirs
> RLM_SUBDIRS = libeap @eaptypes@
> --
> 
> So I wonder why the build problem was not fixed?

*sigh*. What are you talking about.

You're building from 2.1.10 source. The fix wasn't put into the repo until:

c86003da (Alan T. DeKok 2011-01-20 16:01:17 +0100  9) CLIENTLIBS  = libeap/$(LIBPREFIX)freeradius-eap.la $(LIBRADIUS)

2.1.10 tag is from 28th September 2010, so of course it's not going to work, it doesn't have the fix?

and yes, the patch is to explicitly link the freeradius eap library agains the main radius library which contains that symbol…

-Arran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130721/779280a9/attachment.html>


More information about the Freeradius-Users mailing list