evemu: python bindings do not work without -dev package

Bug #1152774 reported by Stephen M. Webb on 2013-03-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stephen M. Webb
evemu (Ubuntu)
Stephen M. Webb

Bug Description

Attempting to use the evemu python bindings without the -dev package installed fails.

ariel:~/projects/oif/evemu/evemu$ sudo python -c "import evemu; evemu.Device('/dev/input/event0')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/evemu/__init__.py", line 64, in __init__
    self._evemu = evemu.base.EvEmuBase(find_library(evemu.const.LIB))
  File "/usr/lib/python2.7/dist-packages/evemu/base.py", line 16, in __init__
    self._lib = ctypes.CDLL(library, use_errno=True)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libevemu.so: cannot open shared object file: No such file or directory

Related branches

Stephen M. Webb (bregma) on 2013-03-11
Changed in evemu (Ubuntu):
status: New → In Progress
assignee: nobody → Stephen M. Webb (bregma)
importance: Undecided → High
Stephen Kitt (steve-sk2) on 2018-05-25
Changed in evemu (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers