AurorWalnut / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

Pyrit0.4.0 running errors #319

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I got some trouble running pyrit0.4.0 on a Debian etch machine (can't upgrade 
for now) with Python2.6, and libpcap1.0.0.

------------
db431:~/pyrit-0.4.0# python setup.py build
svn: '.' is not a working copy
running build
running build_py
running build_ext
running build_scripts
------------
db431:~/pyrit-0.4.0# python setup.py install
svn: '.' is not a working copy
running install
running build
running build_py
running build_ext
running build_scripts
running install_lib
writing byte-compilation script '/tmp/tmpGNyXfO.py'
/usr/local/bin/python -O /tmp/tmpGNyXfO.py
removing /tmp/tmpGNyXfO.py
running install_scripts
changing mode of /usr/local/bin/pyrit to 755
running install_egg_info
Removing /usr/local/lib/python2.6/site-packages/pyrit-0.4.0-py2.6.egg-info
Writing /usr/local/lib/python2.6/site-packages/pyrit-0.4.0-py2.6.egg-info
------------
db431:~/pyrit-0.4.0# pyrit -h
Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 4, in <module>
    import pyrit_cli
  File "/usr/local/lib/python2.6/site-packages/pyrit_cli.py", line 32, in <module>
    import cpyrit.cpyrit
  File "/usr/local/lib/python2.6/site-packages/cpyrit/cpyrit.py", line 41, in <module>
    import util
  File "/usr/local/lib/python2.6/site-packages/cpyrit/util.py", line 52, in <module>
    import _cpyrit_cpu
ImportError: /usr/local/lib/python2.6/site-packages/cpyrit/_cpyrit_cpu.so: 
undefined symbol: pcap_datalink_val_to_name
-------------

As i understand, it's a libpcap issue but I can't find any help on googling 
"undefined symbol: pcap_datalink_val_to_name". I've seen some post without any 
answer for some of the other errors but those are GPU-related, I only want 
pyrit to run on CPU (Xeon @ 16 cores).

I can provide more information if needed.

Original issue reported on code.google.com by CodesBa...@gmail.com on 24 May 2011 at 5:21

GoogleCodeExporter commented 8 years ago
I couldnt find information on that either and there is nothing Pyrit can do 
about it. Please ask the Debian guys either on a mailing list, their bug 
tracker or IRC. Libpcap 1.0 should provide this symbol.

Original comment by lukas.l...@gmail.com on 24 May 2011 at 5:34