Error Compiling 3.1.x

Scott Pickles scottpickles at yahoo.com
Mon Jul 20 23:47:44 CEST 2015


I am compiling FreeRADIUS version 3.1.x from source and I get the following error:
[]# cd freeradius-server-3.1.x[]# ./configure --with-openssl-lib-dir=/usr/local/ssl/lib --with-openssl-include-dir=/usr/local/ssl/include[]# make

[ .... SNIP ....]
CC src/lib/version.c
/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(md4_dgst.o): relocation R_X86_64_PC32 against undefined symbol `memset@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make: *** [build/lib/local/libfreeradius-radius.la] Error 1
So I recompile openssl:
[]# cd openssl-1.0.2d
[]# ./config -fPIC[]# make[]# make install

Trying make again, different module but same suggestion?

[]# cd freeradius-server-3.1.x[]# make
[ .... SNIP ....]
CC src/modules/rlm_wimax/rlm_wimax.c
/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(rsaz_exp.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [build/lib/local/rlm_wimax.la] Error 1


More information about the Freeradius-Users mailing list