pylakey/aiotdlib

Hi,I have a python3.9 ctypes question

yunyuyuan opened this issue · 1 comments

Hi,@pylakey.I appreciate this project very much,and I have a little question to ask you.It about python3.9 ctypes,I can build libcxx on my centos8,but can't build libcxxabi and I haven't found a resolution.I know that question I should ask in python3.9 fourm,but I am really a novice,maybe you can help me.

Error trackback:

Traceback (most recent call last):
  File "/home/yunyuyuan/dev/news/main.py", line 4, in <module>
    Tg()
  File "/home/yunyuyuan/dev/news/src/modules/tg/tg.py", line 18, in __init__
    self.client = Client(
  File "/home/yunyuyuan/.local/lib/python3.9/site-packages/aiotdlib/client.py", line 283, in __init__
    self.__tdjson = TDJson(library_path=library_path, verbosity=tdlib_verbosity)
  File "/home/yunyuyuan/.local/lib/python3.9/site-packages/aiotdlib/tdjson.py", line 82, in __init__
    self.initialize(library_path, verbosity)
  File "/home/yunyuyuan/.local/lib/python3.9/site-packages/aiotdlib/tdjson.py", line 125, in initialize
    self.inject_library(library_path)
  File "/home/yunyuyuan/.local/lib/python3.9/site-packages/aiotdlib/tdjson.py", line 92, in inject_library
    self.__tdjson = CDLL(library_path)
  File "/usr/lib64/python3.9/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libc++abi.so.1: cannot open shared object file: No such file or directory

Already resolved