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: _kIOMasterPortDefault #13

Open
mmikhan opened this issue Sep 20, 2017 · 1 comment
Open

Symbol not found: _kIOMasterPortDefault #13

mmikhan opened this issue Sep 20, 2017 · 1 comment

Comments

@mmikhan
Copy link

mmikhan commented Sep 20, 2017

Unfortunately, the addon doesn't work and shows the following error:

Error: dlopen(/Users/mazik/Desktop/hello/node_modules/node-iohook/build/Release/node-iohook.node, 1): Symbol not found: _kIOMasterPortDefault
  Referenced from: /Users/mazik/Desktop/hello/node_modules/node-iohook/build/Release/node-iohook.node
  Expected in: flat namespace
 in /Users/mazik/Desktop/hello/node_modules/node-iohook/build/Release/node-iohook.node
    at Object.Module._extensions..node (module.js:653:18)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)
    at Module.require (module.js:568:17)
    at require (internal/module.js:11:18)
    at bindings (/Users/mazik/Desktop/hello/node_modules/bindings/bindings.js:81:44)
    at Object.<anonymous> (/Users/mazik/Desktop/hello/node_modules/node-iohook/index.js:3:42)
    at Module._compile (module.js:624:30)
    at Object.Module._extensions..js (module.js:635:10)

Any idea why Symbol not found: _kIOMasterPortDefault is not found from the node-iohook.node?

@ayoubserti
Copy link
Owner

As I could see it's a problem within MAC. It came from IOKit framework which is used by libuiohook.

What's your Mac version ? and what's your nodejs one?

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