Investigate rpath-related linker failures on MacOS

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • C Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Tasks running on MacOS sometimes require explicit -rpath linker flags to be set to correctly link with C and C++ Driver libraries. Investigate why this is required despite rpath-related CMake configuration variables being set.

      dyld[71845]: Library not loaded: @rpath/libmongocrypt.0.dylib
        Referenced from: <...> .../examples/projects/mongocxx/pkg-config/static/build/hello_mongocxx
        Reason: no LC_RPATH's found
      

            Assignee:
            Unassigned
            Reporter:
            Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: