Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbol not found: __ZTIN2cv9ExceptionE [gyp branch] #9

Closed
peterbraden opened this issue Jul 5, 2012 · 3 comments
Closed

Symbol not found: __ZTIN2cv9ExceptionE [gyp branch] #9

peterbraden opened this issue Jul 5, 2012 · 3 comments
Milestone

Comments

@peterbraden
Copy link
Owner

When building with gyp:

-- Compiled OK --

module.js:480
process.dlopen(filename, module.exports);
^
Error: dlopen(/Users/pbraden/Desktop/repos/node-opencv/build/Release/opencv.node, 1): Symbol not found: __ZTIN2cv9ExceptionE
Referenced from: /Users/pbraden/Desktop/repos/node-opencv/build/Release/opencv.node
Expected in: dynamic lookup

at Object.Module._extensions..node (module.js:480:11)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/Users/pbraden/Desktop/repos/node-opencv/lib/bindings.js:1:80)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

Potentially a similar issue to:

https://groups.google.com/forum/?fromgroups#!topic/nodejs/_YGLMA8dr2g

@peterbraden
Copy link
Owner Author

  • the symbol appears at the end of build/Release/obj.target/opencv/src/OpenCV.o in a section of function names

@felixge
Copy link
Contributor

felixge commented Jul 26, 2012

Did you figure out a workaround? Running into the same error myself right now.

@felixge
Copy link
Contributor

felixge commented Jul 26, 2012

FWIW: I'm getting the error on master, building with gyp:

waf output:

module.js:485
  process.dlopen(filename, module.exports);
          ^
Error: dlopen(/Users/felix/code/node-ar-drone/node_modules/opencv/build/Release/opencv.node, 1): Symbol not found: __ZTIN2cv9ExceptionE
  Referenced from: /Users/felix/code/node-ar-drone/node_modules/opencv/build/Release/opencv.node
  Expected in: flat namespace
 in /Users/felix/code/node-ar-drone/node_modules/opencv/build/Release/opencv.node
    at Object.Module._extensions..node (module.js:485:11)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/Users/felix/code/node-ar-drone/node_modules/opencv/lib/bindings.js:1:80)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

The error is slightly different from yours so, it says 'Expected in: flat namespace' yours says: 'Expected in: dynamic lookup'

peterbraden added a commit that referenced this issue Jul 27, 2012
Fix #9 (broken gyp build)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants