FREERADIUS COMPILING ERROR

Onur GURSOY onurgursoygyte at gmail.com
Tue Jan 8 14:56:13 CET 2019


Hello Alan,

I use 2.0.x or 2.1.x bracnh,
Because freeradius 3.0.x bracnh doesnt compile on cygwin

Thanks, My Best Regards,


Onur GURSOY <onurgursoygyte at gmail.com>, 8 Oca 2019 Sal, 16:54 tarihinde
şunu yazdı:

> Hello Alan,
>
> I tried everything, adding -lz option etc.
> But i solved this problem with workaround, this is my configuration,
> ./configure \
>         --prefix=/usr/local/freeradius \
>         --without-rlm_krb5 \
>         --without-rlm_pam \
>         --without-rlm_sql_oracle \
>         --without-rlm_perl \
>         --without-rlm_ldap \
>         --with-system-libtool
>
>
> I disable static compiling, and i recompile project then it compiled
> succesfuly,
> but now i have problem with runtime, there is no any output
>
> Alan DeKok <aland at deployingradius.com>, 8 Oca 2019 Sal, 15:58 tarihinde
> şunu yazdı:
>
>> 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.
>>
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/devel.html
>
>
>
> --
> Onur GÜRSOY
> R&D Engineer in Embedded Systems
> Master Student at Gebze Institute Of Technology
> Department Of Electronic Engineering
> GSM : 0(545) 764 7653
> e-mail: onurgursoygyte at gmail.com
>


-- 
Onur GÜRSOY
R&D Engineer in Embedded Systems
Master Student at Gebze Institute Of Technology
Department Of Electronic Engineering
GSM : 0(545) 764 7653
e-mail: onurgursoygyte at gmail.com


More information about the Freeradius-Devel mailing list