Prebuilt Telegram TDLib for Termux on Android (ARM64 / aarch64).
This build is compiled natively on Termux, linked against Android bionic, and configured with emulated TLS to work correctly on Android.
- Maintained & built by: Ankit Chaubey (@ankit-chaubey)
- Repository: https://github.com/ankit-chaubey/tdlib-termux
Special thanks to levelm (@levelm) for their long‑term maintenance, engineering excellence, and years of outstanding work behind TDLib. This project would not be possible without the sustained effort and technical leadership that shaped TDLib over time.
- TDLib version: 1.8.60
- Platform: Android (Termux)
- Architecture: ARM64 (aarch64)
- C library: bionic
- Compiler: clang
- TLS: emulated TLS enabled (
-femulated-tls) - Linking: dynamic (
libtdjson.so)
td/
├── include/td/
│ └── telegram headers
└── lib/
├── libtdjson.so
└── libtdjson.so.1.8.60
Static libraries (*.a) are not required for runtime usage.
pkg install openssl zlib libc++Runtime libraries used:
libssl.so.3libcrypto.so.3libz.so.1libc++_shared.so
export LD_LIBRARY_PATH=$PWD/td/libldd td/lib/libtdjson.soThere should be no missing dependencies.
#include <td/telegram/td_json_client.h>
int main() {
void *client = td_json_client_create();
td_json_client_destroy(client);
return 0;
}Compile:
clang test.c -Itd/include -Ltd/lib -ltdjson -o testv1.8.60-termux
TDLib is licensed under the Boost Software License 1.0.
- TDLib: https://github.com/tdlib/td
- Termux: https://termux.dev