Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Unable to load shared library. #85

Closed
ryancole opened this issue Feb 9, 2012 · 2 comments
Closed

Unable to load shared library. #85

ryancole opened this issue Feb 9, 2012 · 2 comments

Comments

@ryancole
Copy link

ryancole commented Feb 9, 2012

I'm getting an error while trying to import the zeromq.node library. I installed zeromq.node using npm. I'm running node v0.6.7. Here is my stack trace:

> var zmq = require('zmq');
Error: Unable to load shared library /home/ryan/node_modules/zmq/binding.node
    at Object..node (module.js:463:11)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)
    at Module.require (module.js:357:17)
    at require (module.js:368:17)
    at Object.<anonymous> (/home/ryan/node_modules/zmq/lib/index.js:8:11)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)

The files do exist in that directory, as you can tell by the stack trace inside /zmq/lib/index.js. I built this on Ubuntu 11.10.

Any ideas?

@shripadk
Copy link
Collaborator

did you run ldconfig ?

@ryancole
Copy link
Author

I did not. That definitely fixes it. I overlooked that step while installing zeromq. Sorry for the opened ticket.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants