Getting “Symbol Lookup Error” when calling C library from C++ (Node.js Addon)
问题 I am working on a Node.js addon that needs to wrap the objects from a C library in C++ so they can be accessed from client-side JavaScript (written in CoffeeScript). The C++ module compiles, but when I try to run it through Node.js JavaScript, the C library fails to be called with a symbol lookup error that I'm having problems debugging. The error is below: node: symbol lookup error: /var/lib/cloud9/ledscape-wrapper/wrapper/build/Release/wrapper.node: undefined symbol: ledscape_init wrapper