3

我正在尝试在 NixOS 上使用jetbrains-toolbox

下载的是单个 ELF 二进制文件。我用

patchelf --set-interpreter /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/ld-linux-x86-64.so.2
         --set-rpath /nix/store/y76fs08y8wais97jjrcphdw2rcaka1qa-fuse-2.9.7/lib:/nix/store/4csy6xvbrqxkp3mk6ngxp199xkr476lj-glib-2.54.3/lib:/nix/store/r43dk927l97n78rff7hnvsq49f3szkg6-zlib-1.2.11/lib jetbrains-toolbox

现在运行二进制结果:

Cannot open /tmp/.mount_9TUyRi/.DirIcon

一点调试给出:

$ strace ./jetbrains-toolbox 2>&1|grep mount
mkdir("/tmp/.mount_HJCQAO", 0700)       = 0
openat(AT_FDCWD, "/tmp/.mount_HJCQAO", O_RDONLY) = 4
openat(AT_FDCWD, "/tmp/.mount_HJCQAO/.DirIcon", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "Cannot open /tmp/.mount_HJCQAO/."..., 40Cannot open /tmp/.mount_HJCQAO/.DirIcon

知道这里可能有什么问题吗?(在“正常”操作系统上它运行得很好。)

4

1 回答 1

1

这似乎是未解决的AppImage 错误 #296的一个实例。

于 2018-03-18T20:24:22.113 回答