我想在 NixOS 中安装jetbrains-toolbox。跟踪 beta 和 cannery 渠道很有用。我发现它以前在这里问过,但我没有遇到这个问题,所以我决定再问一次。因此,通过使用NixOS 指南,在使用此下载和解包后,我运行了此
$ patchelf \
--set-interpreter /nix/store/9df65igwjmf2wbw0gbrrgair6piqjgmi-glibc-2.31/lib/ld-linux-x86-64.so.2 \
--set-rpath /nix/store/9df65igwjmf2wbw0gbrrgair6piqjgmi-glibc-2.31/lib:/nix/store/9sfmwj09ij65qnc8dgv8h56gf12b60nn-zlib-1.2.11/lib:/nix/store/dadpj611mynymmljn7s8d97kfsy89dmc-fuse-2.9.9/lib \
jetbrains-toolbox
$ ./jetbrains-toolbox
/run/user/1000/.mount_jetbraWshcwf/AppRun: line 14: ./glibcversion: No such file or directory
/run/user/1000/.mount_jetbraWshcwf/AppRun: line 14: [: : integer expression expected
/run/user/1000/.mount_jetbraWshcwf/AppRun: line 35: /run/user/1000/.mount_jetbraWshcwf/jetbrains-toolbox: No such file or directory
我搜索了很多以找出如何安装glibcversion
但没有成功!知道如何解决这个问题吗?
创建一个也很容易!创建一个名为glibcversion.c
#include <stdio.h>
#include <stdlib.h>
#include <gnu/libc-version.h>
int main(int argc, char *argv[]) {
printf("glibc version: %s\n", gnu_get_libc_version());
}
建造它
gcc glibcversion.c -o glibcversion
但我怎么能喂它呢jetbrains-toolbox
?