Add OpenBSD support for ICU library loading#129124
Conversation
OpenBSD uses ABI versioning in SONAME rather than ICU version numbering. Use unversioned dlopen calls and probe symbol versioning instead of attempting to load versioned library names.
|
Tagging subscribers to this area: @dotnet/area-system-globalization |
|
Hello world was working with the override: am11@foo:~$ DOTNET_ICU_VERSION_OVERRIDE=22 th/artifacts/bin/testhost/net11.0-openbsd-Debug-x64/dotnet exec ~/projects/hw1/hw1/bin/Debug/net11.0/hw1.dll
Hello, World!
Environment.Version: 11.0.0
RuntimeInformation.OSDescription: OpenBSD 7.8 GENERIC.MP#54This makes it work without. |
|
Two important caveats this PR introduces
|
OpenBSD uses ABI versioning in SONAME rather than ICU version numbering. Use unversioned dlopen calls and probe symbol versioning instead of attempting to load versioned library names.
Contributes to #124911.