Menu

#11 example not working with 0.51

open
nobody
None
6
2005-12-28
2005-12-28
No

I am using Python 2.4.2
libpcap 0.7.2-7 (also tried with 0.9.4-1)
swig 1.3.27-1

# python sniff.py eth0 tcp port 80
Traceback (most recent call last):
File "sniff.py", line 4, in ?
import pcap
File "/usr/lib/python2.4/site-packages/pcap.py",
line 4, in ?
import _pcap
ImportError: /usr/lib/python2.4/site-packages/_pcapmodule.so:
undefined symbol: pcap_list_datalinks

I would really like to use this stuff but I don't
have time to troubleshoot it. Good luck!

Discussion

  • Yves Quemener

    Yves Quemener - 2005-12-28
    • priority: 5 --> 6
     
  • Nobody/Anonymous

    Logged In: NO

    Not bug, try libpcap0.8

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.