六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 57|回复: 0

启动couchdb報127的解决办法

[复制链接]

升级  56%

6

主题

6

主题

6

主题

童生

Rank: 1

积分
28
 楼主| 发表于 2013-1-15 02:14:58 | 显示全部楼层 |阅读模式
 
Problems with libmozjs and xulrunner?

 
In Ubuntu 10.04 you may get an error similar to this:
 
OS Process Error <0.4649.0> :: {os_process_error,{exit_status,127}}/opt/couchdb/lib/couchdb/bin/couchjs: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
This is can be resolved by creating an xulrunner configuration as follows:
 
sudo vi /etc/ld.so.conf.d/xulrunner.conf
Note: To check what XULRunner version you have installed use xulrunner -v
Then add the following lines to the file (You may need to change the library version to match whats installed):
 
/usr/lib/xulrunner-x.x.x.x/usr/lib/xulrunner-devel-x.x.x.x
Once the configuration files is created and saved, you will need to run ldconfig:
 
sudo /sbin/ldconfig
This solution is referenced in this bug report @ https://bugs.launchpad.net/ubuntu/+source/xulrunner-1.9/+bug/557275
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表