FreeBSD 8.0 port + perl hook problem

Nick Rogers ncrogers at gmail.com
Fri Jan 8 18:58:03 CET 2010


FYI. I got it to work with libltdl/libtools 2.2 by enabling the function
that uses the new libltdl API as you suggested. Thanks again .

If anyone has the same problem, I had to add a patch to the FreeBSD port and
upgrade it to FreeRADIUS 2.1.8. The following is the patch I added to the
port in addition to having to manually update the pkg-plist.

--- 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100108/206650b1/attachment.html>


More information about the Freeradius-Users mailing list