FREERADIUS COMPILING ERROR

Alan DeKok aland at deployingradius.com
Tue Jan 8 13:58:32 CET 2019


On Jan 8, 2019, at 5:49 AM, Onur GURSOY <onurgursoygyte at gmail.com> wrote:
> 
> nowadays, i try to compile freeradius which is between 2.0.0 and 2.1.9

  The v2 version is end of life.  There's no reason to use it.  Please try the v3 branch.

> version on cygwin.
> But i have an error.
> i do some googling, so i tried configure --with-system-libtool or adding
> -DIE_LIBTOOL_DIE into the Make.inc. but result is fail.
> What is the root problem.
> ...
> /usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block':
> /usr/src/debug/openssl-1.0.2p-1/crypto/comp/c_zlib.c:239: undefined
> reference to `inflate'

  Your OpenSSL crypto library was build with zlib compression.  But it isn't being linked to a zlib library.

  You might try adding "-lz" to the LIBS entry in Make.inc.

  But to be frank, porting FreeRADIUS can be complex.  It can require a detailed understanding of the local system, along with libraries, compilers, linkers, etc.

  Alan DeKok.




More information about the Freeradius-Devel mailing list