ports/138445: net/freeradius2 problem with rlm_perl
David Wood
david at wood2.org.uk
Wed Sep 9 19:20:02 UTC 2009
The following reply was made to PR ports/138445; it has been noted by GNATS.
From: David Wood <david at wood2.org.uk>
To: bug-followup at FreeBSD.org, genserg at hotmail.com
Cc:
Subject: Re: ports/138445: net/freeradius2 problem with rlm_perl
Date: Wed, 9 Sep 2009 20:15:02 +0100
This is not a FreeRADIUS problem as such - rather it's a problem with
embedded Perl after the recent libltdl update.
I worked with the submitter of PR ports/137694 on this problem following
his private report to me. He submitted that PR at my request against
lang/perl5.8 and lang/perl5.10.
It seems that the libltdl upgrade changed the semantics of dynamic
linking with embedded Perl. Calls to dlopen(3) made via rlm_perl seem to
need " | RTLD_GLOBAL" adding to the 'mode' argument (see the man page
for dlopen(3)). However, that system call is not made directly in
rlm_perl - all that rlm_perl does is use the interface found in the
perlembed(1) man page. Accordingly, I think this is in the remit of the
lang/perl5.8 and lang/perl5.10 maintainer.
PR ports/137694 contains a work-round (thanks, Ryan). If no fixes to
Perl are forthcoming, I will look at incorporating that work-round into
the rc.d script that net/freeradius2 installs.
I'm not sure what the correct way to handle this PR is. Arguably it's
superseded by ports/137694. We don't have superseded in GNATS - I guess
this should either be closed or suspended? I leave it to one of the
committers to mark this PR accordingly.
With best wishes,
David (maintainer, net/freeradius2)
--
David Wood
david at wood2.org.uk
More information about the freebsd-ports-bugs
mailing list