Kerberos and FLE addons contain conflicting symbols

XMLWordPrintableJSON

    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Trying to add kerberos to the mongosh binary fails, because both kerberos and the libmongocrypt bindings contain a global Init symbol.

      [2021/06/09 18:17:36.325] duplicate symbol 'Init(v8::Local<v8::Object>)' in:
      [2021/06/09 18:17:36.325]     /System/Volumes/Data/data/mci/78cd8772294328b329c0e4deb4ccb85d/tmp/boxednode/mongosh/node-v14.17.0/out/Release/kerberos.a(kerberos.o)
      [2021/06/09 18:17:36.325]     /System/Volumes/Data/data/mci/78cd8772294328b329c0e4deb4ccb85d/tmp/boxednode/mongosh/node-v14.17.0/out/Release/mongocrypt.a(mongocrypt.o)
      [2021/06/09 18:17:36.346] ld: 1 duplicate symbol for architecture arm64
      [2021/06/09 18:17:36.346] clang: error: linker command failed with exit code 1 (use -v to see invocation)
      

              Assignee:
              Neal Beeken
              Reporter:
              Anna Henningsen
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: