dsoprea / PyInotify

An efficient and elegant inotify (Linux filesystem activity monitor) library for Python. Python 2 and 3 compatible.
GNU General Public License v2.0
246 stars 74 forks source link

inotify can not run properly under alpine linux #44

Closed ilovemath closed 3 years ago

ilovemath commented 6 years ago

When I user inotify under alpine linux, it shows such error: Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.6/site-packages/inotify/adapters.py", line 10, in import inotify.calls File "/usr/lib/python3.6/site-packages/inotify/calls.py", line 55, in errno = _LIB.errno File "/usr/lib/python3.6/ctypes/init.py", line 361, in getattr func = self.getitem(name) File "/usr/lib/python3.6/ctypes/init.py", line 366, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: Symbol not found: errno

blag commented 6 years ago

What version of Alpine?

ilovemath commented 6 years ago

@blag docker image,alpine:3.7

jonathanverner commented 6 years ago

I think this was fixed in https://github.com/dsoprea/PyInotify/pull/27