FreeBSD 2.0.3 port closefrom library?

Alan DeKok aland at deployingradius.com
Sat Apr 5 08:44:56 CEST 2008


Chris wrote:
> When trying to compile freebsd port of 2.0.3 on 6.3 with the
> postgresql83 library (also from ports), I get the following:
> 
> .libs/exec.o(.text+0x536): In function `radius_exec_program':
> : undefined reference to `closefrom'
...
> I'm not familiar with "closefrom"  Which library needs to be included?

  It should be in libc.  The configure script checks for it, and uses it
only if it's available.  If it's not available, then a home-grown one in
src/lib is used.

  You should be able to fix this by editing src/include/autoconf.h.
Look for CLOSEFROM, and delete that line.  Then, rebuild.

  Alan DeKok.



More information about the Freeradius-Users mailing list