Undefined symbol error when importing pyinotify
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyinotify (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running the AMD64 version of Feisty, importing pyinotify results in the following error:
chris@Burninato
Python 2.5 (release25-maint, Feb 16 2007, 18:45:30)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyinotify
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/
from inotify import inotify_init, inotify_add_watch, inotify_rm_watch
File "/var/lib/
from _inotify import inotify_init, inotify_add_watch, inotify_rm_watch
ImportError: /var/lib/
>>>
Changed in pyinotify: | |
status: | Unconfirmed → Fix Committed |
It turns out that setup.py doesn't segregate the _inotify.so library based upon which version of python it's built against. This debdiff fixes it, by rebuilding the module against the right version of python before installing it.