I failed to run prebuild clangd on nixos with output
Failed to execute process './clangd'. Reason:
The file './clangd' does not exist or could not be executed.
I have googled it, most cases are missing share lib, but clangd has all the needed provided
# file clangd
clangd: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=79f70d4f011b115ccfad3ca4e68445acf0f953af, stripped
# ldd clangd
linux-vdso.so.1 (0x00007ffe59bf0000)
libpthread.so.0 => /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libpthread.so.0 (0x00007f92f0a29000)
librt.so.1 => /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/librt.so.1 (0x00007f92f0a1e000)
libdl.so.2 => /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libdl.so.2 (0x00007f92f0a19000)
libm.so.6 => /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libm.so.6 (0x00007f92f08d6000)
libc.so.6 => /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libc.so.6 (0x00007f92f0715000)
/lib64/ld-linux-x86-64.so.2 => /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib64/ld-linux-x86-64.so.2 (0x00007f92f0a4c000)
so what’s the real reason for it failed to excute?
Thanks.
====================
my system is
Linux 5.10.71 #1-NixOS SMP Wed Oct 6 13:56:04 UTC 2021 x86_64 GNU/Linux