You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/10/12 02:56:11 UTC

[Couchdb Wiki] Update of "InstallingSpiderMonkey" by DavidReid

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by DavidReid:
http://wiki.apache.org/couchdb/InstallingSpiderMonkey

The comment on the change is:
Not the proper fix for the Darwin_DBG.OBJ problem.

------------------------------------------------------------------------------
   * The export needs to be run as root so use $ sudo sh
   * When running ./configure for couchdb you will need to use the --with-js-include and --with-js-lib options
   * You will need to make sure /usr/local/spidermonkey/lib is in  DYLD_LIBRARY_PATH {{{export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/spidermonkey/lib}}}
-  * If you're still getting {{{dyld: Library not loaded: Darwin_OPT.OBJ/libjs.dylib}}} when trying to start couchdb, try adding the js/src path from the extracted source code.  It has the Darwin_OPT.OBJ directory in it.  {{{export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/spidermonkey/lib:/path/to/src/js/src}}}
+  * If you're still getting {{{dyld: Library not loaded: Darwin_OPT.OBJ/libjs.dylib}}} when trying to start couchdb, run {{{ranlib /usr/local/spidermonkey/libjs.a}}}
  
  == Notes when installing on Linux ==