I am trying to install Rust in a shared machine where the philosophy is to avoid bugging the sysadmin with install requests and install what we need ourselves via linuxbrew.
As a result, I would like to install rust without any link to the system libs
I have tried to install via
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh which works fine but fails later when I try to install anything that depends on
proc_macro, it fails on
Compiling proc-macro-error-attr v0.4.5 error: /lib64/libc.so.6: version `GLIBC_2.18' not found
I get bitten by the same error if I try to install rust via
brew install rust (but earlier: when the bootstrap tries to install
Compiling serde_derive v1.0.81 error: /lib64/libc.so.6: version `GLIBC_2.18' not found
From what I gather, since
pkg-config are those I installed via linuxbrew and those correctly return the path of the linuxbrew versions of the dependencies, so why is it looking at system's libc?
I am willing to investigate more, but I am quite new to this kind of setup and I have already spent around 10h on this so it'd be great if someone could provide some guidance