pcap

Karl Auer kauer at biplane.com.au
Thu Sep 10 23:19:59 UTC 2009


On Thu, 2009-09-10 at 18:24 -0400, Steve Reilly wrote:
> madunix wrote:
> > am trying to recompile a c code program it gave me :
> > error: pcap.h: No such file or directory
> > how  resolve this issue ?
> > 
> 
> try sudo apt-get install python-pypcap
> 
> and re compile

That might work, as installing the Python library probably pulls in the
necessary underlying pcap library.

Since he's not using Python, though, maybe a better option would be to
install just libpcap:

   sudo apt-get install libpcap-dev

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)                   +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/                  +61-428-957160 (mob)

GPG fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090910/de5b52a9/attachment.sig>


More information about the ubuntu-users mailing list