Closed NoraGithub closed 8 years ago
This issue might have already been solved.
It's caused by my character which is not 'root' and scripts cannot find out the right .h file while importing.
From the error message below:
ImportError: /usr/local/lib/python2.6/dist-packages/netfilterqueue.so: undefined symbol: nfq_set_verdict2
and netfilterqueue.pxd, which might be used for defined function prototype
I re-installed related module from the project and found the .h file in the /url/include
hadn't been updated and fixed it
However, it raised another issue.
I would try it fix it later
My Environment: Ubuntu Server 10.04 LTS 32bit python 2.6.5
According to the instruction here: already done:
Everytime when I executed
from netfilterqueue import NetfilterQueue
, I got this error:Already searched google for a whole day, hope to hear from you.
more info: 1.I need to use
sudo
before all the scripts , because it's not the root. 2.If I executednm /usr/local/lib/python2.6/dist-packages/netfilterqueue.so
, I would get:3.If I executed
ldd /usr/local/lib/python2.6/dist-packages/netfilterqueue.so
, I would get:4.the warming when executing
sudo pip install netfilterqueue --upgrade