You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dotnet 9 fails on macOS Catalina due to a missing symbol in libc++ #45382
dotnet --version
Failed to load /Users/adelar/.asdf/installs/dotnet-core/9.0.100/host/fxr/9.0.0/libhostfxr.dylib, error: dlopen(/Users/adelar/.asdf/installs/dotnet-core/9.0.100/host/fxr/9.0.0/libhostfxr.dylib, 1): Symbol not found: __ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj
Referenced from: /Users/adelar/.asdf/installs/dotnet-core/9.0.100/host/fxr/9.0.0/libhostfxr.dylib (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib
To Reproduce
On macOS Catalina run dotnet --version
Further technical details
MacOS 12 is Monterey; Catalina is 16. What I see in the logs is that Catalina's libc++ is missing a function:
The release notes for dotnet 9 don't actually mention ending support for Catalina, so looks like a build issue in SDK (perhaps setting a wrong macos target).
Reacted by Adelar da Silva Queiróz and greenonline
Activity
artempyanykh commentedon Dec 11, 2024
Ok, I found this page that shows that supported macOS versions are https://learn.microsoft.com/en-us/dotnet/core/install/macos#supported-versions:
macOS 15 "Sequoia" 9.0, 8.0
macOS 14 "Sonoma" 9.0, 8.0
macOS 13 "Ventura" 9.0, 8.0
macOS Catalina is 10.15 (and is a sixteenth major release, I love the macOS versioning!) and so is not supported.
dotnet 8 has the same list of supported macOS versions, so I guess if it worked on Catalina, it worked there by accident.