我成功地编译了tdlib https://github.com/tdlib/td。
然后:
$ python tdjson_example.py
输出:
Traceback (most recent call last): File "tdjson_example.py", line 10, in <module> tdjson = CDLL(tdjson_path) File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) OSError: tdjson.dll: cannot open shared object file: No such file or directory
发布于 2018-03-11 19:32:23
我解决了问题。需要设置库的完整路径:https://github.com/tdlib/td/issues/139
https://stackoverflow.com/questions/49210000
复制相似问题