Can´t run binary nyaa-0.9.1-x86_64-unknown-linux-gnu
Closed this issue · 1 comments
maop commented
$ ./nyaa-0.9.1-x86_64-unknown-linux-gnu
bash: ./nyaa-0.9.1-x86_64-unknown-linux-gnu: cannot execute: required file not found
i think it is something related to how it was linked:
0.9.0 runs fine and file shows this:
$ file nyaa-0.9.0-x86_64-unknown-linux-gnu
nyaa-0.9.0-x86_64-unknown-linux-gnu: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=56493e5972b00a3bd9b55420bc82a9d75b6bc8ad, for GNU/Linux 4.4.0, stripped
while 0.9.1 shows:
file ./nyaa-0.9.1-x86_64-unknown-linux-gnu
./nyaa-0.9.1-x86_64-unknown-linux-gnu: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /nix/store/1rm6sr6ixxzipv5358x0cmaw8rs84g2j-glibc-2.38-44/lib/ld-linux-x86-64.so.2, for GNU/Linux 3.10.0, with debug_info, not stripped
I tried a git checkout v0.9.1
and cargo install --path .
and that runs fine:
$ ~/.cargo/bin/nyaa --version
nyaa v0.9.1
Beastwick18 commented
🤦 Yep I built it on NixOS and didn't even think about that. I've updated the release with a corrected version, which outputs:
nyaa-0.9.1-x86_64-unknown-linux-gnu: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=5ada4a29d0ce9434a99017822dfd8a84eaaada26, for GNU/Linux 4.4.0, with debug_info, not stripped