in reply to Re^3: Net::Pcap prob
in thread Net::Pcap prob

I useing Xbuntu 11.10 perl 5.16.0.I compile it my /usr/lib;sudo ln -s i386-linux-gnu/libpcap.so Got this output. /usr/lib$

Replies are listed 'Best First'.
Re^5: Net::Pcap prob
by zentara (Cardinal) on Jun 03, 2012 at 09:48 UTC
    In addition to the pcap lib in /usr/lib, you also need the header files in /usr/include/pcap. Do you have a directory /usr/include pcap? If you do, then one can only assume you have a mismatch between your header files and the actual library. Maybe you have 2 versions installed, another in /usr/local/lib possibly? It would be a wise step to build pcap yourself, from tcpdump and pcap instead of relying on Ubuntu's split packages.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh