Open shuanzi opened 10 years ago
Is this on Ubuntu? I had something similar and figured I need to add /usr/local/lib
to ldconfig
Add /usr/local/lib
to a line in ld.so.conf
:
$ sudo touch /etc/ld.so.conf
and rerun ldconfig
$ sudo ldconfig
Nope, it's on Mint Linux. It seems that you have to make sure ZeroMQ is installed before you $ npm install zmq. (See README.md)
I had the same issue, also on Mint. Running ldconfig after installing zmq fixed the problem.
I had the same issue on Ubuntu, running ldconfig fixed it.
thanks kranthicu
I had the same issue, but I'm on Centos7 and node.js v4.
I found the way,effective for me, $ export LD_LIBRARY_PATH=/usr/local/lib
.
Thanks @zenboss works for me!,I had the same issue on Ubuntu 14.04.
Same issue on Ubuntu 15.10 ... as @si-griffiths suggested ldconfig
fixed it.
ldconfig
and /usr/local/lib
doesn't work for me, on Ubuntu 16.04.
Might need to run npm up
first.
You have to install liblas-c3
.
sudo aptitude install liblas-c3
on Ubuntu 16.04 you have to add a packages source:
deb http://cz.archive.ubuntu.com/ubuntu xenial main universe
to your /etc/apt/sources.list
then update apt-get and you should be able to install it.
For me adding adding /usr/local/bin
to /etc/ld.so.conf
and calling sudo ldconfig
fixed the error.
Nothing has worked for me.
CentOS and Node 4.x LTS.
Even tried migrating to 6.x LTS to check, but nope.
In my case the libzmq.so.4 doesn't exist, had used yum to install zeromq.
Ubuntu 16.04
I also meet such problem. ldconfig
and Add Path
didn't work for me.
I downloaded "lib64pgm5.2_0-5.2.122-3.mga6.x86_64.rpm" after a lot of searching and this library installed the require libzmq.so.4
This worked for me.
Thank you.
I downloaded the package but didn't work for me.
After I install a few packages
apt-get install libminiupnpc-dev libzmq3-dev libevent-pthreads-2.0.5
It works.
Hi,everyone, I just try the example on npm page and got this error. Does any body had this problem?
ØMQ/4.x with node v0.10.30.
/home/xiquan/node_modules/zmq/node_modules/bindings/bindings.js:83 throw e ^ Error: libzmq.so.3: cannot open shared object file: No such file or directory at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at bindings (/home/xiquan/node_modules/zmq/node_modules/bindings/bindings.js:76:44) at Object. (/home/xiquan/node_modules/zmq/lib/index.js:6:30)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)