Giter Club home page Giter Club logo

Comments (25)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024 1
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 [email protected] on 4 Mar 2011 at 1:00

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Issue 10 has been merged into this issue.

Original comment by [email protected] on 11 Oct 2010 at 10:06

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024

Original comment by [email protected] on 11 Oct 2010 at 10:06

  • Changed state: Started

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
is there a solution?

Original comment by [email protected] on 19 Oct 2010 at 3:38

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
[deleted comment]

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
[deleted comment]

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 30 Oct 2010 at 3:55

Attachments:

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Any chance you could help us out? We would really appreciate your help. Thanks.

Original comment by [email protected] on 3 Nov 2010 at 1:54

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 4 Nov 2010 at 6:54

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 4 Nov 2010 at 2:41

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 5 Nov 2010 at 7:50

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 5 Nov 2010 at 1:12

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
 Symbol not found: _addr_bcast <---- What does this mean??????  So frustrated, can anyone help me???

Original comment by [email protected] on 5 Nov 2010 at 11:02

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024

Original comment by [email protected] on 6 Nov 2010 at 1:20

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
[deleted comment]

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 12 Nov 2010 at 2:42

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Any news on a resolution to this issue?

Original comment by [email protected] on 10 Dec 2010 at 11:16

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 4 Apr 2011 at 12:24

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
[deleted comment]

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 27 Jul 2012 at 3:17

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
[deleted comment]

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 28 Aug 2012 at 4:47

from libdnet.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
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 [email protected] on 9 Apr 2014 at 8:27

from libdnet.

shujahm avatar shujahm commented on June 21, 2024

This solved my problem as well:

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.

from libdnet.

ofalk avatar ofalk commented on June 21, 2024

py2 eol and old report. closing.

from libdnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.