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 in binary canvas.node #377

Closed
dzsodzso63 opened this issue Jan 31, 2014 · 4 comments
Closed

Symbol not found in binary canvas.node #377

dzsodzso63 opened this issue Jan 31, 2014 · 4 comments

Comments

@dzsodzso63
Copy link

When I require resemble package, I got this:

...node_modules/canvas/build/Release/canvas.node, 1): Symbol not found: __Z22jpeg_resync_to_restartP22jpeg_decompress_structi

node-gyp rebuild did not help

@translunar
Copy link

Same problem here. Did you ever find a solution?

@omidahourai
Copy link

I'm running on Meteor 1.3.4.1 and getting a similar error. Mine says:

Unable to resolve some modules: "../build/Release/canvas" in /node_modules/canvas/lib/bindings.js (web.browser)

I looked at the bindings.js file, and if I change it to "../build/Release/canvas.node" where it says module.exports = require('../build/Release/canvas'); then it works. But that won't fly when it installs my npm dependencies automatically.

@zbjornson
Copy link
Collaborator

(See #930 -- if there's a conflicting version of libcairo this method may be missing.)

@zbjornson
Copy link
Collaborator

The .node extension was added in #933 (1.6.6) and #939 (2.x), which fixes the 3rd comment. See #930 for the other potential cause.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants