Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
None
Description
When statically linking to libmongocrypt for the node binding, we run into the following segfaults during test execution:
[mbroadst@gorgor node-mongodb-crypt (master ✗)]$ npm test
|
|
|
> mongodb-crypt@0.0.1 test /Users/mbroadst/Development/mongo/node-mongodb-crypt
|
> mocha test
|
|
|
|
|
|
|
AutoEncrypter
|
state machine
|
dyld: lazy symbol binding failed: Symbol not found: _bson_malloc0
|
Referenced from: /Users/mbroadst/Development/mongo/node-mongodb-crypt/build/Release/mongocrypt.node
|
Expected in: flat namespace
|
|
|
dyld: Symbol not found: _bson_malloc0
|
Referenced from: /Users/mbroadst/Development/mongo/node-mongodb-crypt/build/Release/mongocrypt.node
|
Expected in: flat namespace
|
it seems like libbson's symbols are missing.