josephg / node-foundationdb

Modern Node.js FoundationDB bindings
Other
115 stars 17 forks source link

Cannot find libfdb_c.dylib on macos with latest versions of nodejs #42

Closed josephg closed 1 year ago

josephg commented 4 years ago

There's an issue in the bleeding edge versions of nodejs where the module loader can't find libfdb_c.dylib. Apparently the issue is due to notarization being turned on in the nodejs release process, which ads additional security sandboxing to the node process.

I've started a fdb forum topic about the issue. Hopefully folks at Apple have some thoughts on how to solve this.

This bug is not related to any particular version of this library - its kind of an upstream issue, though if there's reasonable workarounds we can put in place I'll do that.

Affected versions:


Workarounds:

If you're running into this issue, you can do any of the following to get things working while we figure out a better solution:

josephg commented 4 years ago

I don't think this is going to be resolved any time soon. It might make sense to just add some mitigation recommendations into the error message on macos and close this issue :/