It's not listed as a requirement in the docs but Tauri seems to require zlib-devel-static on OpenSUSE Tumbleweed.
When not present, cargo tauri dev throws the following error, and gets stuck in the build process a while later:
Compiling webkit2gtk v0.18.2
error: linking with `cc` failed: exit status: 1
# a ton of paths here
= note: /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: cannot find -lz: No such file or directory
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: cannot find -lz: No such file or directory
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: cannot find -lz: No such file or directory
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: cannot find -lz: No such file or directory
collect2: error: ld returned 1 exit status
# more build output
# gets stuck on
2024-03-02T16:16:09.712607Z INFO ✅ success
Hi, thanks for the report. Could you please provide the full logs and the output of the tauri info command? And are you using any rust crates other than what tauri comes with by default?
It's not listed as a requirement in the docs but Tauri seems to require
zlib-devel-static
on OpenSUSE Tumbleweed. When not present,cargo tauri dev
throws the following error, and gets stuck in the build process a while later: