From owner-freebsd-ports@FreeBSD.ORG Tue Feb 2 17:52:03 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24C341065696 for ; Tue, 2 Feb 2010 17:52:03 +0000 (UTC) (envelope-from ncrogers@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id CA81C8FC16 for ; Tue, 2 Feb 2010 17:52:02 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 8so96093qwh.7 for ; Tue, 02 Feb 2010 09:52:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=AZzaTV7VJfAZUB48SFI/iiwskkeEZJPkPRMpIUpA+0M=; b=n0eD8kAwlyrBXE79FzSJtLjhfQWa6qes0b7XSpIlmqV1l2z2MBpSNyesamskRfkXUt tgIGtvGYpq2spPCOkltKeQu/3zgPu6a/LHnbcvy40uLkuN7EYgD0V9X9edzHv1jXOO6/ kmR83n/hihKg0aQjY6KWi7Zbc86WmtLlfocag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MC8rqCzXwTzvHvpV+zUZTHVjqQYoVGocW2DsbHJkjeNSuRqbvPYtVaPtNXVXU82UCi ggIapaxO1VcBjb/7j4bVZZWYpPOBXPPCWjcR6ErBqs34wMDKzx3k98BfDxpu76nM0Is/ cTgYonNRFZB3LzMpn5Szazt8M5r6Yh+oqz42M= MIME-Version: 1.0 Received: by 10.142.249.25 with SMTP id w25mr677191wfh.15.1265131735599; Tue, 02 Feb 2010 09:28:55 -0800 (PST) In-Reply-To: References: Date: Tue, 2 Feb 2010 09:28:55 -0800 Message-ID: <147432021002020928t6f20d3f1l91707fa9fe3c878d@mail.gmail.com> From: Nick Rogers To: =?ISO-8859-1?Q?S=F8ren_Schr=F8der?= Content-Type: multipart/mixed; boundary=00504502c539b1cb92047ea16f55 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org, david@wood2.org.uk Subject: Re: FreeBSD Port: freeradius-2.1.6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 17:52:03 -0000 --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 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--