Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3350

Kerberos and FLE addons contain conflicting symbols

    • Not Needed

      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@mongodb.com Neal Beeken
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: