[
https://issues.apache.org/jira/browse/COUCHDB-2699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557353#comment-14557353
]
ASF GitHub Bot commented on COUCHDB-2699:
-----------------------------------------
GitHub user arturmazurek opened a pull request:
https://github.com/apache/couchdb-couch/pull/52
Fixing a build for Mac OS 10.10
Missing libmozjs185.
Added /usr/local/lib to linker search path because
couchdb suggests using homebrew to install dependancies and that's
where they are put by default.
COUCHDB-2699
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arturmazurek/couchdb-couch
2699-fix-macos-build
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch/pull/52.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #52
----
commit e4dbbae4944a7822a8297beef93784e3f405f8e9
Author: Artur Mazurek <[email protected]>
Date: 2015-05-23T14:13:38Z
Fixing a build for Mac OS 10.10 - missing
mozjs185.
Added /usr/local/lib to linker search path because
couchdb suggests using homebrew to install dependancies and that's
where they are put by default.
COUCHDB-2699
----
> Mac OS - build problem, can't find libmozjs185
> ----------------------------------------------
>
> Key: COUCHDB-2699
> URL: https://issues.apache.org/jira/browse/COUCHDB-2699
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Artur Mazurek
> Priority: Trivial
> Attachments: couchdb-2699.diff
>
>
> Encountered the following linking problem when building couchdb on Yosemite:
> {noformat}
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> ERROR: sh(cc priv/couch_js/http.o priv/couch_js/main.o priv/couch_js/utf8.o
> priv/couch_js/util.o -lmozjs185
> -L"/usr/local/lib/erlang/lib/erl_interface-3.7.19/lib" -lerl_interface -lei
> -o priv/couchjs)
> failed with return code 1 and the following output:
> ld: library not found for -lmozjs185
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)