Hi,

I'm having trouble getting ntop to compile with PF_RING support. PF_RING is installed with the associated kernel module, libpfring, and libpcap files under /opt/PF_RING/lib and headers in /opt/PF_RING/include.

After the
     ./autogen.sh --noconfig
I run a ./configure with the extra option
    --with-pcap-root=/opt/PF_RING
to hopefully clue in ntop to the presence of libpfring and the pfring-linked libpcap.

The configure runs successfully.

Running "make" fails until I switch a couple of cases of this in Makefile from
     -L /opt/PF_RING/lib
to
     -L/opt/PF_RING/lib
(The space between -L and /opt/PF_RING/lib makes libtool complain and abort.)
After fixing that, "make" is successful.

However while "ldd .libs/ntop" shows libpfring.so getting linked in right, it also shows ntop linked to the stock libpcap, not the PF_RING one in /opt/PF_RING/lib
    libpfring.so => /opt/PF_RING/lib/libpfring.so (0x00007f9213c35000)
    libpcap.so.1 => /usr/lib64/libpcap.so.1 (0x00007f92139fe000)

When I fire up ntop, no rings are allocated, presumably because the wrong libpcap is being used.

Please advise. I would be happy to provide further details if that would be helpful.

Thanks,
Kevin Branch
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to