Public bug reported:

Binary package hint: couchdb

This is what gets written to the logs:

[Thu, 17 Mar 2011 12:46:38 GMT] [debug] [<0.25631.1>] OS Process Start :: 
#Port<0.41331>
[Thu, 17 Mar 2011 12:46:38 GMT] [debug] [<0.25631.1>] OS Process #Port<0.41331> 
Input  :: ["reset",{"reduce_limit":true}]
[Thu, 17 Mar 2011 12:46:38 GMT] [error] [<0.399.0>] OS Process Error 
<0.25631.1> :: {os_process_error,{exit_status,127}}

Attempting to run couchjs results in the following:
rtg@buzz:/etc/couchdb$ /usr/bin/couchjs /usr/share/couchdb/server/main.js
/usr/lib/couchdb/bin/couchjs: error while loading shared libraries: 
libmozjs.so: cannot open shared object file: No such file or directory

This is happening because xulrunner-2.0-mozjs puts libmozjs.so in 
/usr/lib/xulrunner-2.0 directory and /usr/bin/couchjs does the following lookup:
for i in /usr/lib/xulrunner-2.0b* /usr/lib/xulrunner-2.0.0.* ; do 
    if [ -f ${i}/libmozjs.so ] ; then 
        mozjs_path=${i}
        break
    fi
done

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: couchdb-bin 1.0.1-0ubuntu12
Uname: Linux 2.6.38-020638rc8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Mar 17 15:12:53 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: couchdb
UpgradeStatus: Upgraded to natty on 2010-12-05 (101 days ago)

** Affects: couchdb (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/736847

Title:
  /usr/bin/couchjs crashes with /usr/lib/xulrunner-2.0/ libmozjs.so dir

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to