FreeRadius 2.1.10 Install Failure -- undefined reference to `pcap_fopen_offline'
Alan DeKok
aland at deployingradius.com
Wed May 11 20:52:03 CEST 2011
Saqib Ali (saqib) wrote:
> gcc -o .libs/radsniff .libs/radsniff.o
> /root/freeradius-server-2.1.10/src/lib/.libs/libfreeradius-radius.so
> -lnsl -lresolv -lpthread -lpcap -Wl,--rpath -Wl,/usr/local/lib
>
> .libs/radsniff.o(.text+0xd13): In function `main':
>
> /root/freeradius-server-2.1.10/src/main/radsniff.c:489: undefined
> reference to `pcap_dump_fopen'
Edit src/main/Makefile. Find the line saying:
PCAP_LIBS = -lpcap
and change it to
PCAP_LIBS =
Then "make all install"
Alan DeKok.
More information about the Freeradius-Users
mailing list