Menu

Doesn’t compile on macOS: missing CoreServices

Help
elmimmo
2023-08-25
2023-08-25
  • elmimmo

    elmimmo - 2023-08-25

    It does not compile on macOS 13.4.1 Ventura, in both Intel and Apple CPUs:

    $ ./configure
    $ make
    []
    clang: error: no such file or directory: '/System/Library/Frameworks/CoreServices.framework/CoreServices'
    

    Related to changes in macOS 11.0 Big Sur?:

    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)

     
  • elmimmo

    elmimmo - 2023-08-25

    Ups, I intended to create this as a bug report. I do not know how to delete this thread.

     

Log in to post a comment.

MongoDB Logo MongoDB