C
C#3d ago
Jordan

Failed to install .NET9 on Raspberry PI

For reference, .NET 8 works fine. I installed the dotnet SDK using the following script and it successfully installed the 9.0 SDK to ~/.dotnet as it should.
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel STS
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel STS
But when trying to run any dotnet command, like dotnet run oder even dotnet --version i just get a error message complaining about the wrong glibc version.
▶ dotnet --version
dotnet: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found (required by dotnet)
▶ dotnet --version
dotnet: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found (required by dotnet)
All the debian/raspian packages are up to date with the latest version. Might this be another issue with the raspi being a arm based sbc? Or did I mess up somewhere? I also tried using the apt mirror but even after adding the entry to my sources list it does not find any dotnet sdk packages...
2 Replies
canton7
canton73d ago
Looks like .NET 9 relies on glibc 2.34, but your installation has an older version Looks like Bookworm might have a version that's recent enough, but Bullseye doesn't?
Jordan
JordanOP3d ago
oh yeah, well, that is also true, i am so used to rolling release models by now that I didn't even bother to check the actual version after doing a full system update. Thanks for the hint
Want results from more Discord servers?
Add your server