incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: test suites failing on 0.11.0b921503
Date Thu, 11 Mar 2010 21:13:09 GMT
On Thu, Mar 11, 2010 at 11:38:05AM -0500, j d wrote:
> Attempting to run any of the tests in the test suite page puts couchdb
> into a loop that spits out the following error over and over:
> 
> /usr/local/lib/couchdb/bin/couchjs: error while loading shared
> libraries: libjs.so: cannot open shared object file: No such file or
> directory

Try this at command line:

    ldd /usr/local/lib/couchdb/bin/couchjs

What does it show?

Also: LD_LIBRARY_PATH is a bit fragile. Better is this, so you don't need
any environment variables:

    echo "/usr/local/spidermonkey/lib64" >/etc/ld.so.conf.d/spidermonkey.conf
    ldconfig

Even better is to set LD_RUN_PATH when you build couchdb, so that it has the
location of its library built into the binary.

B.

Mime
View raw message