Couchdb安装无法在Mac OSX上运行

时间:2014-12-06 00:25:26

标签: macos couchdb

我正在按照以下指南链接在我的Mac Osx机器上尝试couchdb。

http://guide.couchdb.org/draft/mac.html

我在屏幕上收到以下错误。

192-168-182-129:~ andywong$ brew install couchdb
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please install the CLT or Xcode 5.1.1.
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/couchdb-1.6
Already downloaded: /Library/Caches/Homebrew/couchdb-1.6.1_1.mountain_lion.bottle.tar.gz
==> Pouring couchdb-1.6.1_1.mountain_lion.bottle.tar.gz
==> Caveats
To test CouchDB run:
    curl http://127.0.0.1:5984/

The reply should look like:
    {"couchdb":"Welcome","uuid":"....","version":"1.6.1","vendor":{"version":"1.6.1-    1","name":"Homebrew"}}

To have launchd start couchdb at login:
    ln -sfv /usr/local/opt/couchdb/*.plist ~/Library/LaunchAgents
Then to load couchdb now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.couchdb.plist
Or, if you don't want/need launchctl, you can just run:
    couchdb
/usr/bin/install_name_tool: object:     /usr/local/Cellar/couchdb/1.6.1_1/lib/couchdb/erlang/lib/couch-    1.6.1/priv/lib/couch_icu_driver.so malformed object (unknown load command 8)
Error: Failed to fix install names
The formula built, but you may encounter issues using it or linking other
formula against it.
==> Summary
  /usr/local/Cellar/couchdb/1.6.1_1: 636 files, 16M
192-168-182-129:~ andywong$ couchdb
/usr/local/bin/couchdb: line 301: /Users/andywong/@@HOMEBREW_PREFIX@@/opt/erlang/bin/erl:     No such file or directory

错误指向此行

/usr/local/Cellar/couchdb/1.6.1_1/lib/couchdb/erlang/lib/couch-1.6.1/priv/lib/couch_icu_driver.so malformed object (unknown load command 8)

之前有没有人见过这种错误?是否与我的spidermonkey库版本不兼容?

非常感谢任何帮助!

感谢。

0 个答案:

没有答案