electron/rebuild

Symbol lookup error after run electron-rebuild

jiafengwu0301 opened this issue · 1 comments

electron: v13.1.2
node: v14.16.1
electron-rebuild: v3.2.2

The dependency package can be compiled and run with node 14, after I use electron-rebuild to rebuild it and run with electron, I got the symbol lookup error. Anyone can help me here? Thanks!!!

Here is the error I got:
{path}/node_modules/electron/dist/electron .: symbol lookup error: {path}/v4l2camera/build/Release/v4l2camera.node: undefined symbol: _ZN2v811ArrayBuffer3NewEPNS_7IsolateESt10shared_ptrINS_12BackingStoreEE

I'm facing the same issue with another addon (same symbol).