Symbol lookup error after run electron-rebuild
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 181
- Avg merge
- 6h 44m
- Merged PRs (30d)
- 3
Description
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`
Contributor guide
Research direction
The issue names Electron 13.1.2, Node 14.16.1, electron-rebuild 3.2.2, and v4l2camera.node, but no repository file or test. Start by reproducing the rebuild and Electron launch sequence, then compare the native module's build target with Electron's runtime. Done requires a confirmed compatibility fix or a clear diagnosis of the undefined symbol.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, node.js
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100