Open GoogleCodeExporter opened 9 years ago
Issue 10 has been merged into this issue.
Original comment by jay.f...@gmail.com
on 11 Oct 2010 at 10:06
Original comment by jay.f...@gmail.com
on 11 Oct 2010 at 10:06
is there a solution?
Original comment by lukas.l...@gmail.com
on 19 Oct 2010 at 3:38
[deleted comment]
[deleted comment]
I am having the exact same problem. See
http://code.google.com/p/pyrit/issues/detail?id=206&can=1&start=200 for
details. I am running Mac Osx 10.6.4 with Python 2.6, 2.5,2.3 and trying to get
Libdnet to work with Scapy to work with Pyrit. I used the tarball install
because the dmg would not work with 2.6 only 2.5. So I installed everything on
2.5 and my error is:
michael-chuas-macbook-pro:~ mchua79$ /usr/bin/python -c "from cpyrit import
pckttools"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Library/Python/2.5/site-packages/cpyrit/pckttools.py", line 45, in <module>
raise util.ScapyImportError(e)
cpyrit.util.ScapyImportError: dlopen(/Library/Python/2.5/site-packages/dnet.so,
2): Symbol not found: _addr_bcast
Referenced from: /Library/Python/2.5/site-packages/dnet.so
Expected in: flat namespace
in /Library/Python/2.5/site-packages/dnet.so
During the configuration, there were some ERRORS that asked me to Report this
to the AC_PACKAGE_NAME lists. I attached the configuration log for your review.
If you could help us out it would be much appreciated. Thank you very much for
your time and help.
Original comment by mchu...@gmail.com
on 30 Oct 2010 at 3:55
Attachments:
Any chance you could help us out? We would really appreciate your help. Thanks.
Original comment by mchu...@gmail.com
on 3 Nov 2010 at 1:54
Seems there are something wrong when compile python support, so I copy dnet.so
from internet to /Library/Python/2.5/site-packages, and now, everything is OK.
Original comment by wee...@gmail.com
on 4 Nov 2010 at 6:54
Weekex, thanks so much for your response. I will try your solution when I get
home later today. What do you mean you copied dnet.so from the internet? What
version are you using? Did you download dnet.so directly to the
Libary/Python/2.5/site-packages? Or did you copy and paste from your download
directory? Thank you very much for your help.
Original comment by mchu...@gmail.com
on 4 Nov 2010 at 2:41
Yes, I download from internet and copy to /Libary/Python/2.5/site-packages.
BTW
I use python 2.5 and dnet 1.12
Original comment by wee...@gmail.com
on 5 Nov 2010 at 7:50
Could you send me a link? I tried downloading again and copying to
/Libary/Python/2.5/site-packages and it still does not work. Maybe I have a bad
copy? I am downloading from here: http://libdnet.sourceforge.net/ Thanks.
Original comment by mchu...@gmail.com
on 5 Nov 2010 at 1:12
Symbol not found: _addr_bcast <---- What does this mean?????? So frustrated, can anyone help me???
Original comment by mchu...@gmail.com
on 5 Nov 2010 at 11:02
Original comment by jay.f...@gmail.com
on 6 Nov 2010 at 1:20
[deleted comment]
Mr.Fink or Mr.Song, are you out there? Can you help me with this? If not, let
me know and I will give up on this project. I have spent days researching this
on the web with no luck. I am at my witts end here.
Original comment by mchu...@gmail.com
on 12 Nov 2010 at 2:42
Any news on a resolution to this issue?
Original comment by GrantWSa...@gmail.com
on 10 Dec 2010 at 11:16
Hi, do you still have a problem?
I got same problem, and it was solved by MacPorts.
I installed py26-libdnet from MacPorts, and copy its dnet.so
file(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/s
ite-packages/dnet.so
) to /Library/Python/2.6/site-packages/dnet.so. Now py26-scapy(MacPorts) is
working fine.
Original comment by katsuhir...@gmail.com
on 4 Mar 2011 at 1:00
As a workaround, you can also open
"/Library/Python/2.6/site-packages/scapy/arch/unix.py"
and change "scapy.config.conf.use_dnet = 1" to "scapy.config.conf.use_dnet = 0"
Original comment by lukas.l...@gmail.com
on 4 Apr 2011 at 12:24
[deleted comment]
Sorry I have exactly the same problem, please, please, respond, is it already
solved or a known issue and still no solution.
I am using python2.7 on ubuntu 12.04, I have done 'sudo apt-get install libdnet
libdnet-dev' as well as installing 'libdnet-1.12.tgz' but sill cannot import
dnet and this is the error:
>>> import dnet
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named dnet
>>>
Original comment by mhd.s...@gmail.com
on 27 Jul 2012 at 3:17
[deleted comment]
Alright,
So got it all figured out I hope with the following workaround for Mac OS Xes:
CFLAGS='-arch i386 -arch x86_64' ./configure --prefix=/usr
archargs='-arch i386 -arch x86_64' make
sudo make install
cd python
sudo python setup.py install
Original comment by ndo...@gmail.com
on 28 Aug 2012 at 4:47
Same issues here, I am working on a Debian 7.
Installed libdnet-1.12 via ./configure and make as told in the INSTALL
instructions.
Then went into the python folder and tried python setup.py install, but it
aborts with the following error:
running install
running build
running build_ext
building 'dnet' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I../include -I/usr/include/python2.7 -c ./dnet.c -o
build/temp.linux-x86_64-2.7/./dnet.o
./dnet.c:4:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Original comment by taigins...@gmail.com
on 9 Apr 2014 at 8:27
Original issue reported on code.google.com by
wee...@gmail.com
on 3 Aug 2010 at 12:01