The system library javascriptcoregtk-4.1 required by crate javascriptcore-rs-sys was not found

Tauri 项目编译遇到

The system library javascriptcoregtk-4.1 required by crate javascriptcore-rs-sys was not found

解决方案

下载 Arch 下依赖

sudo pacman -Syu

sudo pacman -S --needed \

  webkit2gtk-4.1 \

  base-devel \

  curl \

  wget \

  file \

  openssl \

  appmenu-gtk-module \

  libappindicator-gtk3 \

  librsvg \

  xdotool


也许不是必须?

卸载包管理器的 rustup

执行官方安装脚本

curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

重新进行编译


The system library javascriptcoregtk-4.1 required by crate javascriptcore-rs-sys was not found
https://nekoside.com/archives/the-system-library-javascriptcoregtk-4.1-required-by-crate-javascriptcore-rs-sys-was-not-found
作者
nekoside
发布于
2026年01月12日
更新于
2026年01月13日
许可协议