Skip to content

8.0.0-rc.1 Library not loaded: /System/Library/Frameworks/CryptoKit.framework/Versions/A/CryptoKit #93167

@zhenlinyang

Description

@zhenlinyang

Description

System.DllNotFoundException: Unable to load shared library 'libSystem.Security.Cryptography.Native.Apple' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:

dlopen(???/dotnet-sdk/shared/Microsoft.NETCore.App/8.0.0-rc.1.23419.4/libSystem.Security.Cryptography.Native.Apple.dylib, 1): Library not loaded: /System/Library/Frameworks/CryptoKit.framework/Versions/A/CryptoKit

macOS Mojave 10.14.6

Reproduction Steps

Use System.Security.Cryptography.MD5.Create(); in macOS Mojave 10.14.6.

Expected behavior

Same as .Net 7.0, can be used normally.

Actual behavior

System.DllNotFoundException: Unable to load shared library 'libSystem.Security.Cryptography.Native.Apple' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:

dlopen(???/dotnet-sdk/shared/Microsoft.NETCore.App/8.0.0-rc.1.23419.4/libSystem.Security.Cryptography.Native.Apple.dylib, 1): Library not loaded: /System/Library/Frameworks/CryptoKit.framework/Versions/A/CryptoKit

Regression?

No response

Known Workarounds

No response

Configuration

8.0.0-rc.1.23419.4 error
7.0.x correct

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions