rshk / python-libxdo

Python bindings for libxdo
BSD 3-Clause "New" or "Revised" License
76 stars 19 forks source link

Undefined symbol: xdo_move_mouse #17

Open herbertp opened 8 years ago

herbertp commented 8 years ago

I tried a simple click and move example [http://pastebin.com/raw/hexCUKxM], but the script fails with:

    from xdo import Xdo
  File "/usr/lib/python3.4/site-packages/xdo/__init__.py", line 10, in <module>
    from .xdo import libX11 as _libX11
  File "/usr/lib/python3.4/site-packages/xdo/xdo.py", line 423, in <module>
    POINTER(xdo_t), c_int, c_int, c_int)
  File "/usr/lib64/python3.4/ctypes/__init__.py", line 364, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib64/python3.4/ctypes/__init__.py", line 369, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /lib64/libxdo.so.2: undefined symbol: xdo_move_mouse

Distirbution is Mageia 5, the relevant packages are: lib64xdotool2-2.20110530.1-8.mga5 xdotool-2.20110530.1-8.mga5

Note that a similar action with xdotool works just fine: xdotool selectwindow windowmove 10 10

Thanks in advance, Herbert

steemandlinux commented 6 years ago

No problem with arch in 2018.

Hmm, libxdo.so.2 - too old version.