alexander-akhmetov / python-telegram

Python client for the Telegram's tdlib
MIT License
610 stars 122 forks source link

Launch on Ubuntu 16.04.7 LTS #235

Closed mihmig closed 2 years ago

mihmig commented 2 years ago

What operating system can the client run on? When I start it on ubuntu 16.04.7 LTS, I get the error: OSError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/lib/python3.9/dist-packages/telegram/lib/linux/libtdjson.so)

alexander-akhmetov commented 2 years ago

Hi! tdlib in python-telegram 0.15.0 (tdlib 1.7.9) is built on Ubuntu 20.04 (x86-64).

You can build your own tdlib and use it with the client. Build the library following the instructions here, and then specify path to libtdjson.so:

Telegram(
    ...
    library_path='/path/to/libtdjson.so',
)
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.