Date: Tue, 2 Feb 2010 09:28:55 -0800 From: Nick Rogers <ncrogers@gmail.com> To: =?ISO-8859-1?Q?S=F8ren_Schr=F8der?= <soeren.schroeder@gmail.com> Cc: ports@freebsd.org, david@wood2.org.uk Subject: Re: FreeBSD Port: freeradius-2.1.6 Message-ID: <147432021002020928t6f20d3f1l91707fa9fe3c878d@mail.gmail.com> In-Reply-To: <a5b802961002020646m5adc753p3f24f81f3b1d47d1@mail.gmail.com> References: <a5b802961002020646m5adc753p3f24f81f3b1d47d1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00504502c539b1cb92047ea16f55 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I had pretty much the same problem. To solve it and get a workable package = I had to manually upgrade the current port to 2.1.8, which involved updating the port's plist, distinfo and of course the version. I also had to add the below patch which was pointed out to me by Alan DeKok over at the FreeRADIU= S mailing list. Apparently FreeRADIUS still relies on libtool1.5 but has some code to use the libtool2.2 API, but it is not yet enabled. Enabling it for FreeBSD is necessary because libtool1.5 was completely removed from the ports tree some time between 7.2 and 8.0-RELEASE. --- modules.c 2010-02-02 09:16:35.000000000 -0800 +++ modules.c 2010-02-02 09:17:06.000000000 -0800 @@ -207,6 +207,7 @@ * Solve the issues of libraries linking to other libraries * by using a newer libltdl API. */ +#define HAVE_LT_DLADVISE_INIT #ifndef HAVE_LT_DLADVISE_INIT #define fr_dlopenext lt_dlopenext #else I've attached a copy of the port directory that I used to build a working 2.1.8 package in case anyone wants to give that a go. I'm not 100% sure the new PLIST is correct but the important part is the new "patch-libltdl-api" file that I added. It would be great if the port maintainer could upgrade t= o 2.1.8 in the proper manner and include this patch. On Tue, Feb 2, 2010 at 6:46 AM, S=F8ren Schr=F8der <soeren.schroeder@gmail.com>wrote: > Greeting > > I have problems with FreeRadius 2.1.6 and rlm_perl > > I updated from 2.1.1 (using portmaster) and perl support got broken. > > according to freeradius mailinglist, this is due to some libtool2.2 vs > libtool 1.5 issue. (or libltld - not much info avaliable) > > > http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg6027= 5.html > > I fetched the 2.1.8 tarball from the project and did a "configure/gmake > install" and it works now > > I verified the bug on a system that never had freeradius installed before > (claen install) and got the bug there too. I tested with perl 5.8.9 and > 5.10.1 and the bug follows freeradius, not perl. > > --------- > > radiusd -f -X > > server ggsn { > modules { > Module: Checking authenticate {...} for more modules to load > Module: Linked to module rlm_perl > Module: Instantiating perl > perl { > module =3D "/usr/local/etc/raddb/perl/sch.pm" > func_authorize =3D "authorize" > func_authenticate =3D "authenticate" > func_accounting =3D "accounting" > func_preacct =3D "preacct" > func_checksimul =3D "checksimul" > func_detach =3D "detach" > func_xlat =3D "xlat" > func_pre_proxy =3D "pre_proxy" > func_post_proxy =3D "post_proxy" > func_post_auth =3D "post_auth" > } > Can't load '/usr/local/lib/perl5/5.10.1/mach/auto/Data/Dumper/Dumper.so' > for > module Data::Dumper: > /usr/local/lib/perl5/5.10.1/mach/auto/Data/Dumper/Dumper.so: Undefined > symbol "PL_sv_undef" at /usr/local/lib/perl5/5.10.1/mach/XSLoader.pm line > 70. > at /usr/local/lib/perl5/5.10.1/mach/Data/Dumper.pm line 36 > Compilation failed in require at /usr/local/etc/raddb/perl/sch.pm line 7. > BEGIN failed--compilation aborted at /usr/local/etc/raddb/perl/sch.pm lin= e > 7. > rlm_perl: perl_parse failed: /usr/local/etc/raddb/perl/sch.pm not found o= r > has syntax errors. > /usr/local/etc/raddb/radiusd.conf[166]: Instantiation failed for module > "perl" > /usr/local/etc/raddb/radiusd.conf[290]: Failed to find module "perl". > /usr/local/etc/raddb/radiusd.conf[290]: Failed to parse "perl" entry. > Errors initializing modules > > > Kind regards (and thanks for your work) > > S=F8ren Schr=F8der > > Happy FreeBSD user since 1.x > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > --00504502c539b1cb92047ea16f55--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?147432021002020928t6f20d3f1l91707fa9fe3c878d>