0
from ctypes import *
import ctypes
CDLL("./libfromandroid.so", mode=ctypes.RTLD_GLOBAL)

hello, when i tried to run this code in my debian wsl i got error about not founding liblog.so so i downloaded it

now it's giving me another error :

  File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /lib/x86_64-linux-gnu/libm.so: invalid ELF header

i searched for it in internet to download but iam not sure

0 Answers0