Node.js错误:libcouchbase.so.2:无法打开共享库文件:没有这样的文件或目录 [英] Nodejs error : libcouchbase.so.2: cannot open shared object file: No such file or directory

查看:70
本文介绍了Node.js错误:libcouchbase.so.2:无法打开共享库文件:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个nodejs项目.它可以在我的笔记本电脑上运行,但是当我尝试在桌面上运行它时会抛出错误:

I am working on a nodejs project. Its working in my laptop but when I tried to run it in my desktop it is throwing error :

libcouchbase.so.2:无法打开共享对象文件:没有这样的文件或目录

libcouchbase.so.2: cannot open shared object file: No such file or directory

有人可以建议我怎么了吗?

Can anybody suggest me what could be the wrong?

预先感谢

推荐答案

也许可以帮助某人:看起来共享库应该位于/usr/lib/libcouchbase.so.2 但是安装脚本将 libcouchbase.so.2 安装到/usr/local/lib/libcouchbase.so.2.,所以我只是将其链接到/usr/lib/libcouchbase.so.2 ,对我来说很好.

Maybe it could help somebody: Looks like the shared library should be in /usr/lib/libcouchbase.so.2 But the install script installed libcouchbase.so.2 to /usr/local/lib/libcouchbase.so.2. So I just linked it to /usr/lib/libcouchbase.so.2 and that works fine for me.

这篇关于Node.js错误:libcouchbase.so.2:无法打开共享库文件:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆