Comment 11 for bug 557024

Revision history for this message
Micah Gersten (micahg) wrote : Re: [Bug 557024] Re: mongo / mongod as packaged can't load libmozjs.so

  You should always use the version of xulrunner you want in the command
in case people are running multiple versions at once (i.e.
xulrunner-1.9.2 --gre-version)

On 08/12/2010 01:47 AM, Clint Byrum wrote:
> A workaround, btw, is to set
> LD_LIBRARY_PATH=/usr/lib/xulrunner-`xulrunner --gre`
>
> clint@ubuntu:~$ LD_LIBRARY_PATH=/usr/lib/xulrunner-`xulrunner --gre-version` mongos
> error: no args for --configdb
> clint@ubuntu:~$ mongos
> mongos: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
> clint@ubuntu:~$
>
> This can be added to /etc/init/mongodb.conf
>