fix: add clang-devel for opensuse in getting-started.sh

opensuse tumbleweed requires clang-devel package to provide libclang.so
which is needed by clang-sys crate during compilation.
This commit is contained in:
2026-01-27 15:54:00 +03:00
parent c2e99ca914
commit 60d63271ed
+1 -1
View File
@@ -116,7 +116,7 @@ elif [ "$os_name" = "Linux" ]; then
sudo dnf install --assumeyes clang curl git openssl-devel make protobuf-compiler perl
elif [ "$distro" = "opensuse" ]; then
printf "\n🐧 Detected openSUSE. Using zypper to install dependencies.\n"
sudo zypper install --no-confirm clang gcc gcc-c++ curl git openssl-devel llvm-devel libudev-devel make awk protobuf-devel
sudo zypper install --no-confirm clang clang-devel gcc gcc-c++ curl git openssl-devel llvm-devel libudev-devel make awk protobuf-devel
else
if prompt "\n🐧 Unknown Linux distribution. Unable to install dependencies. Continue anyway?\n"; then
printf "\n🐧 Proceeding with unknown linux distribution...\n"