This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- Loading branch information
46a3224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my machines, if icu4c isn't linked (which it isn't by default, since it's keg only) I get an error when I run couchdb 0.11:
46a3224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, did 0.10.1 work for you?
46a3224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup.
Does 0.11 work if you unlink icu4c? If you
otool -L
thecouch_icu_driver.so
you see relative references to the icu4c libraries, and since icu4c is keg-only, it can't find those libraries since the keg directory isn't in the rpath...I'm working on patching icu4c to include the full path in the library's ids
Are you launching couchdb with the launchctl service? I'm trying to run it with
couchdb start
46a3224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i just run couchdb from the command-line: > couchdb
this also worked by default on my non-dev mac that doesn't have anything special going on. perhaps instead of making icu4c link by default we should have this recipe link it?
46a3224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the icu formula to fix the shared library ids of the icu dylibs... this isn't actually linking it in brew, just telling each of the libraries where they live so that when dependent formula are linked to icu, they "remember" where to find the icu4c dylibs:
http://github.com/mxcl/homebrew/issues/issue/1159
46a3224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's strange that it worked for you. I tried installing couchdb on my macbook pro, and it gives me the same error. The macbook pro installation is 5 days old, and the only formula I installed was imagemagick.
46a3224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't work for me either. Just did:
brew uninstall couchdb
brew install couchdb
Ran couchdb and got the error above.
46a3224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah the problem is icu4c has the wrong install_names. I can fix. You'll have to recompile icu4c and then couchdb after though.
46a3224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed: 808f2d0
Uninstall icu4c and couchdb, reinstall icu4c and couchdb.