dnf search linput并且dnf search lgbm不产生任何结果。我怎样才能在 Fedora 中获得这些?
我正在尝试构建一个 Rust 程序,但它无法编译,因为显然我遗漏了一些东西。它说:
= note: /usr/bin/ld: cannot find -lxkbcommon
/usr/bin/ld: cannot find -lxkbcommon
/usr/bin/ld: cannot find -linput
/usr/bin/ld: cannot find -lgbm
collect2: error: ld returned 1 exit status
Run Code Online (Sandbox Code Playgroud)
我安装了lxkbcommon(编辑:我实际上安装了libxkbcommon。不知道我是怎么错过的。)dnf install libxkbcommon-devel然后输出看起来像这样:
= note: /usr/bin/ld: cannot find -linput
/usr/bin/ld: cannot find -lgbm
collect2: error: ld returned 1 exit status
Run Code Online (Sandbox Code Playgroud)
所以,我想我需要的东西叫linput和lgbm为好,只有我找不到那些dnf search和我来了空手与谷歌。