Comments (25)
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.
Issue 10 has been merged into this issue.
Original comment by [email protected]
on 11 Oct 2010 at 10:06
from libdnet.
Original comment by [email protected]
on 11 Oct 2010 at 10:06
- Changed state: Started
from libdnet.
is there a solution?
Original comment by [email protected]
on 19 Oct 2010 at 3:38
from libdnet.
[deleted comment]
from libdnet.
[deleted comment]
from libdnet.
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:
- [Dnet Configuration.txt](https://storage.googleapis.com/google-code-attachments/libdnet/issue-9/comment-6/Dnet Configuration.txt)
from libdnet.
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.
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.
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.
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.
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.
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.
Original comment by [email protected]
on 6 Nov 2010 at 1:20
from libdnet.
[deleted comment]
from libdnet.
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.
Any news on a resolution to this issue?
Original comment by [email protected]
on 10 Dec 2010 at 11:16
from libdnet.
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.
[deleted comment]
from libdnet.
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.
[deleted comment]
from libdnet.
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.
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.
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.
py2 eol and old report. closing.
from libdnet.
Related Issues (20)
- 1.14: libdnet is not LTO ready HOT 17
- ImportError at start HOT 2
- Allow building on Debian GNU/kFreeBSD HOT 2
- manpages: Distinguish between groff hyphens and minus signs HOT 1
- mapages: fix some typos HOT 1
- Conflicting parameter types of strlcpy, strlcat to cause undefined behaviour HOT 3
- Investigate modifications applied by Nmap HOT 5
- Detect "check" lib multi-arch aware via pkg-config HOT 1
- arp-ioctl.c:221: 3 * off by one error HOT 1
- Cross compiling fails with 1.16.1 HOT 6
- Fix groff "empty input lines" warning HOT 1
- dnet 1.16.1 with python 3.11 error: incomplete definition of type 'struct _frame' HOT 7
- Update dnet on PyPi to make this fork installable via pip HOT 2
- libdnet fails to build with Python 3.12: ModuleNotFoundError: No module named 'distutils' HOT 4
- Error while configuring it. Please advise HOT 4
- Cmake support HOT 2
- Python bindings fail to build on macOS HOT 5
- configure missing auxiliary file: compile? HOT 3
- HOWTO to compile HOT 2
- Reduce compiler warnings HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libdnet.