Rust installation issues

I have an error when i try to run anchor build, I'll paste the error below

/home/totdking/.cache/solana/v1.41/platform-tools/rust/bin/rustc: error while loading shared libraries: librustc_driver-278a6e01e221f788.so: cannot open shared object file: No such file or directory

I have tried all means , i have reinstalled latest version of rust, solana cli, anchor, yarn, npm, cargo , rustup and rustc , downloaded and cleaned the binaries on my storage and I'm just stuck atm, pls any help

My os is a kubuntu latest version as of 18-11-2024

I don't know about solana or anchor, but that's not where rust is typically installed. if it's a customized rust toolchain, then you'll get better chance of help if you ask the tech support team of anchor.

how did you install rust? did you use the standard way of rustup? what's the output if you run the following commands?

$ rustup --version
$ cargo --version
$ rustc --version