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
On macOS Big Sur, Apple has added a "dynamic linker cache". When ctypes tries to find the Security and CoreFoundation frameworks, an ImportError is raised, really because ctypes.utils.find_library can't see that the path exists. However, if you go ahead and load it anyway, everything is happy.
Please see: https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11-beta-release-notes
Specifically:
New in macOS Big Sur 11 beta, the system ships with a built-in dynamic linker cache of all system-provided libraries. As part of this change, copies of dynamic libraries are no longer present on the filesystem. Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache. (62986286)
On macOS Big Sur, Apple has added a "dynamic linker cache". When ctypes tries to find the Security and CoreFoundation frameworks, an ImportError is raised, really because
ctypes.utils.find_library
can't see that the path exists. However, if you go ahead and load it anyway, everything is happy.Please see: https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11-beta-release-notes
Specifically:
New in macOS Big Sur 11 beta, the system ships with a built-in dynamic linker cache of all system-provided libraries. As part of this change, copies of dynamic libraries are no longer present on the filesystem. Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache. (62986286)
I have a PR for this
incoming#1905 .The text was updated successfully, but these errors were encountered: