Closed toddtop closed 9 years ago
output while configuring and compiling
./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking whether gcc needs -traditional... no
checking whether we are using SUNPro C... no
checking for ranlib... ranlib
checking if compiler is clang... no
checking for the compiler flag "-Qunused-arguments"... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for gmake... no
checking for make... /usr/bin/make
checking number of system cores... 1
checking for git... no
checking docdir... ${datadir}/doc/freeradius
checking logdir... ${localstatedir}/log/radius
checking radacctdir... ${logdir}/radacct
checking raddbdir... ${sysconfdir}/raddb
checking dictdir... ${datarootdir}/freeradius
checking for perl... /usr/bin/perl
checking for snmpget... no
configure: WARNING: snmpget not found - Simultaneous-Use and checkrad may not work
checking for snmpwalk... no
configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad may not work
checking for rusers... /usr/bin/rusers
checking for locate... /usr/bin/locate
checking for dirname... /usr/bin/dirname
checking for grep... (cached) /bin/grep
checking for _talloc in -ltalloc... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for the compiler flag "-pthread"... yes
checking for library containing sem_init... none required
checking for dlopen in -ldl... yes
checking for getsockname in -lsocket... no
checking for inet_aton in -lresolv... yes
checking for inet_ntoa in -lnsl... yes
checking for htonl in -lws2_32... no
checking for pcap_open_live in -lpcap... no
checking for pcap_open_live in -lpcap in /usr/lib/x86_64-linux-gnu... no
checking for pcap_open_live in -lpcap in /usr/share/doc... no
checking for pcap_open_live in -lpcap in /usr/share/doc/libpcap0.8... no
checking for pcap_open_live in -lpcap in /var/lib/dpkg/info... no
checking for pcap_open_live in -lpcap in /usr/local/lib... no
checking for pcap_open_live in -lpcap in /opt/lib... no
configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer, and ARP listener. Use --with-pcap-lib-dir=
Your system has libcrypto.a, but not libcrypto.so.
Static linking is not supported.
Use shared libraries.
I'm trying to build version 3.0.8 from source following these instruction from the web site:
I get this error:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../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
Where should I put the -fPIC option? I've searched the web, and people have been having this issue for years, but I don't see a solution that works for me. I don't care about 32 bit or 64 bit mode. I just want it to compile.
What should I try?