-bash: /home/linuxbrew/.linuxbrew/bin/fd: cannot execute binary file: Exec format error #3344
Replies: 2 comments
-
Are you certain you're using WSLv2? We've only seen this issue with Rust-compiled binaries on WSLv1. If you look at this issue (and linked issues) you'll find that upgrading to WSLv2 seemed to fix the problem. It's not clear why this occurs but there are some ideas in that issue thread. You could try to |
Beta Was this translation helpful? Give feedback.
-
Yes, I am on WSL2. I have also tried brew reinstall --build-from-source fd without any success. It still had the same error. |
Beta Was this translation helpful? Give feedback.
-
I am doing a fresh install of brew on my WSL2 setup. After installing fd, exa, ripgrep and trying to run the these commands I am getting the following errors:
-bash: /home/linuxbrew/.linuxbrew/bin/fd: cannot execute binary file: Exec format error
-bash: /home/linuxbrew/.linuxbrew/bin/exa: cannot execute binary file: Exec format error
-bash: /home/linuxbrew/.linuxbrew/bin/ripgrep: cannot execute binary file: Exec format error
Whereas the other installs like git or bpytop or mc has been working fine without any issues
Is there something I am missing here
Beta Was this translation helpful? Give feedback.
All reactions