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

The next line of the error message says:

If it is installed in a non-standard location, please try setting the +LIBS and INC values on the command line.

What part of this error message have you tried and how did it work for you?

If you already tried the complete instructions of the error message, please say so, and describe your exact situation (OS, version, installed package, output) instead of letting me walk you through reading the error message.

Replies are listed 'Best First'.
Re^4: Net::Pcap prob
by perlsyntax (Pilgrim) on Jun 02, 2012 at 14:23 UTC
    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$
      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