python-nids import error from python (undefnied symbol: nids_errbuf)
Bug #795991 reported by
I. Sanchez
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-nids (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-nids
After having installed the python-nids package, I am unable to import it from python. libnids1.21 and libnids1.21-dev packages are installed as well.
From a python shell:
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import nids
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/
>>>
Changed in python-nids (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
I confirm this problem. If you cannot wait for a fix, you can rebuild the package yourself :
aptitude update nids_0. 6.1-1build1_ amd64.deb
# these packages are only needed for the build :
aptitude install build-essential debhelper dpatch libglib2.0-dev libnet1-dev libnids-dev libpcap0.8-dev python-all-dev
apt-get source python-nids
cd python-nids-0.6.1
dpkg-buildpackage -b
# these are the dependencies of python-nids :
aptitude install libnet1 libnids1.21
dpkg -i ../python-
aptitude markauto libnet1 libnids1.21
# be careful with the hold as you will prevent any upgrade of the package
aptitude hold python-nids