add libz and libzstd to building from source

This commit is contained in:
Luke Boswell 2024-08-27 21:43:45 +10:00
parent e8c7857ddf
commit 7f38dba850
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0

View file

@ -94,6 +94,21 @@ If so, you can fix it like so:
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
```
### libz libzstd libraries
You may see an error like this during builds:
```text
/usr/bin/ld: cannot find -lz: No such file or directory
/usr/bin/ld: cannot find -lzstd: No such file or directory
```
If so, you can fix it like so:
```sh
sudo apt-get install libz-dev libzstd-dev
```
### Zig
**version: 0.11.0**