Re: ntop and libpcap
Marcos Mezo <mmezo@selexco.net> writes:
> As a followup to my former mail
>
> If I try to build ntop from the sources against the libpcap0.7-dev I get
> the same error.
>
> /usr/bin/ld: /usr/local/lib/libpcap.a(pcap-linux.o): relocation
> R_X86_64_32 can not be used when making a shared object; recompile with
> -fPIC
>
> How should I build ntop??
>
> Marcos
> --
> Marcos Mezo <mmezo@selexco.net>
You have to fix libpcap, recompile it with -fPIC.
Most likely the configure script in libpcap is just buggy and needs to
be updated but it could be something else too causing the -fPIC to be
missing.
MfG
Goswin
Reply to: