I'm still hitting this bug both under Gutsy and Hardy versions of the package when importing with python-dbg (2.5) on Amd64. In particular, with the hardy version:
>>> import pyinotify Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/var/lib/python-support/python2.5/pyinotify/pyinotify.py", line 47, in <module> from inotify import inotify_init, inotify_add_watch, inotify_rm_watch File "/var/lib/python-support/python2.5/pyinotify/inotify.py", line 48, in <module> from _inotify import inotify_init, inotify_add_watch, inotify_rm_watch ImportError: /var/lib/python-support/python2.5/pyinotify/_inotify.so: undefined symbol: Py_InitModule4_64 [102128 refs] Which is kinda logical, as that library is not linked to anything python-related: ldd /var/lib/python-support/python2.5/pyinotify/_inotify.so linux-vdso.so.1 => (0x00007fffda9fe000) libpthread.so.0 => /lib/libpthread.so.0 (0x00002b81d03fa000) libc.so.6 => /lib/libc.so.6 (0x00002b81d0616000) /lib64/ld-linux-x86-64.so.2 (0x0000555555554000) ¿¿Perhaps a python-pyinotify-dbg version is missing?? I've hit quite a roadblock here, as I'm using the module for a university project - which I cannot debug -from pydev- because of this. apt-cache policy python-pyinotify python-pyinotify: Instalados: 0.7.1-1 Candidato: 0.7.1-1 Tabla de versión: *** 0.7.1-1 0 150 http://ftp.crihan.fr hardy/universe Packages 100 /var/lib/dpkg/status -- Undefined symbol error when importing pyinotify https://bugs.launchpad.net/bugs/85705 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs