Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 10:06:56 -0800
From:      Nick Rogers <ncrogers@gmail.com>
To:        Porting software to FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: Issues with Perl 5.8.9_3 port/package (in combination with  FreeRADIUS 2.1.6)
Message-ID:  <147432021001081006l1deaac87l3f709fee1e1545a3@mail.gmail.com>
In-Reply-To: <147432021001071530y4f13b9aekca9c1710177f0730@mail.gmail.com>
References:  <210D8AEF-D8E2-4896-B42D-49789A62E3CD@gmail.com> <147432021001051221h70c22535id083466ca09e0a7@mail.gmail.com> <20100105170419.961D.32B2AB49@yahoo.com> <147432021001071530y4f13b9aekca9c1710177f0730@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
One of the FreeRADIUS maintainers pointed out to me that there is a problem
with freeradius + rlm_perl module + libltdl/libtools 2.2, in that they are
still using the old libltdl API. You can fix this by either using libtools
1.5 (which is difficult since its been removed from the ports tree) or
upgrade the freeradius2 port to version 2.1.8 and add the following diff to
the port. I also had to manually update the pkg-plist file.


--- src/main/modules.c 2010-01-08 06:43:51.000000000 -0800
+++ src/main/modules.c 2010-01-08 07:48:12.000000000 -0800
@@ -207,9 +207,6 @@
  * Solve the issues of libraries linking to other libraries
  * by using a newer libltdl API.
  */
-#ifndef HAVE_LT_DLADVISE_INIT
-#define fr_dlopenext lt_dlopenext
-#else
 static lt_dlhandle fr_dlopenext(const char *filename)
 {
  lt_dlhandle handle = 0;
@@ -225,7 +222,6 @@

  return handle;
 }
-#endif /* HAVE_LT_DLADVISE_INIT */
 #endif /* WITHOUT_LIBLTDL */

 static int virtual_server_idx(const char *name)

On Thu, Jan 7, 2010 at 3:30 PM, Nick Rogers <ncrogers@gmail.com> wrote:

> I've tried using portupgrade to build and install the freeradius2 package
> on a fresh 8.0-RELEASE install with latest ports tree and that did not seem
> to change anything.
>
>
> On Tue, Jan 5, 2010 at 2:04 PM, Jerry <gesbbb@yahoo.com> wrote:
>
>> On Tue, 5 Jan 2010 15:21:04 -0500 Nick Rogers <ncrogers@gmail.com>
>> articulated:
>>
>> > I installed FreeBSD 8.0-RELEASE from official ISO and used pkg_add -r to
>> > install the packages. I also tried building my own packages from ports
>> tree
>> > and got the same result.
>>
>> You might try using something like portmanger to rebuild your installed
>> packages:
>>
>>        portmanager -u -f -l -y
>>
>> If you go that route, be sure to update your ports tree first.
>>
>> --
>> Jerry
>> gesbbb@yahoo.com
>>
>> _______________________________________________
>> 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"
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?147432021001081006l1deaac87l3f709fee1e1545a3>