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
On Jul 20, 2015, at 11:47 PM, Scott Pickles via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
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
A ".a" file is a static library. FreeRADIUS needs a "libcrypto.so" file to work. Alan DeKok.
Hmm, thought the path I provided included the *.so file. I've reverted back to the 3.0.4 provided by CentOS and everything is going ok at this point with the exception of AD auth. Still working on that. Thanks for your help thus far. On Wednesday, July 22, 2015 9:38 AM, Alan DeKok <aland@deployingradius.com> wrote: On Jul 20, 2015, at 11:47 PM, Scott Pickles via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
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
A ".a" file is a static library. FreeRADIUS needs a "libcrypto.so" file to work. Alan DeKok.
please don’t send email On Jul 22, 2015, at 23:50, Scott Pickles via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
Hmm, thought the path I provided included the *.so file. I've reverted back to the 3.0.4 provided by CentOS and everything is going ok at this point with the exception of AD auth. Still working on that. Thanks for your help thus far.
On Wednesday, July 22, 2015 9:38 AM, Alan DeKok <aland@deployingradius.com> wrote:
On Jul 20, 2015, at 11:47 PM, Scott Pickles via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
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
A ".a" file is a static library. FreeRADIUS needs a "libcrypto.so" file to work.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan DeKok -
Scott Pickles -
Song Zou