Update tdlib_ping workflow to use Ubuntu 22.04 for compatibility with libtdjson-dev. Revise README to highlight the absence of the package in Ubuntu 24.04 and provide installation guidance for alternative distributions.
This commit is contained in:
1 parent
e0c289e08d
commit
07e35c5c87
2 files changed
+8
-2
No files matched your search
@@ -19,8 +19,10 @@
|
||||
|
||||
Linux (Debian/Ubuntu), установите заголовки и библиотеку, например:
|
||||
|
||||
**Важно:** в **Ubuntu 24.04 (Noble)** пакета **`libtdjson-dev` в официальном apt нет** (ошибка `Unable to locate package`). Используйте **22.04 (Jammy)** / **Debian bookworm** или [сборку TDLib из исходников](https://github.com/tdlib/td#building).
|
||||
|
||||
```bash
|
||||
sudo apt-get install -y libtdjson-dev # имя пакета может отличаться по дистрибутиву
|
||||
sudo apt-get install -y libtdjson-dev # Jammy/Bookworm и др.; имя может отличаться по дистрибутиву
|
||||
export CGO_ENABLED=1
|
||||
go build -tags=tdlib -o tdlib_ping ./cmd/tdlib_ping
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user