#11 example not working with 0.51

open
nobody
None
6
2005-12-28
2005-12-28
Yves Quemener
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
     
  • Logged In: NO

    Not bug, try libpcap0.8