Issues with Perl 5.8.9_3 port/package (in combination with FreeRADIUS 2.1.6)

Nick Rogers ncrogers at gmail.com
Fri Jan 8 18:07:02 UTC 2010


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 at 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 at yahoo.com> wrote:
>
>> On Tue, 5 Jan 2010 15:21:04 -0500 Nick Rogers <ncrogers at 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 at yahoo.com
>>
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>>
>
>


More information about the freebsd-ports mailing list