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

bufferutil.node validation.node is not an ELF file #10

Open
iamblue opened this issue Jun 19, 2015 · 2 comments
Open

bufferutil.node validation.node is not an ELF file #10

iamblue opened this issue Jun 19, 2015 · 2 comments

Comments

@iamblue
Copy link

iamblue commented Jun 19, 2015

I installed cylon-api.socketio on my Arduino yun, it shows:

/usr/bin/nodejs: '/root/app/node_modules/cylon-api-socketio/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build/Release/bufferutil.node' is not an ELF file

/usr/bin/nodejs: '/root/app/node_modules/cylon-api-socketio/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build/Release/validation.node' is not an ELF file

How can I fix this problem ?
thx!

@edgarsilva
Copy link
Contributor

I think the Yun does not have dev tools for compiling, or enough memory to install npm packages directly in the OpenWRT distro. If you installed the npm packages in your host computer and then copy them over, the ones that need to compile source files will not work on the Yun since it has a different processor with a different set of instructions, I think that is the message you are seeing.

Let me know if that makes sense. If you want to do that you'll need to cross compile the files.

@edgarsilva
Copy link
Contributor

Did you had any luck with this? were you able to cross compile?

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