Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

CouchDB can't find icu4c on startup #19641

Closed
natevw opened this Issue · 3 comments

3 participants

@natevw

After upgrading packages today, I could no longer start CouchDB:

Apache CouchDB 1.2.1 (LogLevel=info) is starting.
{"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,couch_primary_services,{shutdown,{failed_to_start_child,collation_driver,"dlopen(/usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/couch-1.2.1/priv/lib/couch_icu_driver.so, 2): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.50.1.dylib\n  Referenced from: /usr/local/Cellar/couchdb/1.2.1/lib/couchdb/erlang/lib/couch-1.2.1/priv/lib/couch_icu_driver.so\n  Reason: image not found"}}}}}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Apache CouchDB crashed, restarting in 5 seconds.

For old time's sake I tried using brew link --force icu4c as issue #6065 discusses, but even as a workaround it's no help.

@natevw

brew uninstall couchdb && brew install couchdb fixed it (even after unlinking icu4c) for me, once I also sorted an Erlang version issue. Seems I happened upon an unlucky order/timing of brew upgrades.

@adamv
Owner

Yeah; we updated the icu4c version/bottle recently and that caused me to need to rebrew some stuff as well.

@adamv adamv closed this
@bdcribbs

It's time to rebrew couchdb again.

@DomT4 DomT4 referenced this issue from a commit in DomT4/homebrew
@DomT4 DomT4 couchdb: bump revision for icu4c
Looks like there's runtime issues again. CouchDB needs bumping
with each icu4c update that changes icu4c dylib versioning.

See: Homebrew#19641 (comment)
d08a149
@BrewTestBot BrewTestBot referenced this issue from a commit in BrewTestBot/homebrew
@DomT4 DomT4 couchdb: bump revision for icu4c
Looks like there's runtime issues again. CouchDB needs bumping
with each icu4c update that changes icu4c dylib versioning.

See: Homebrew#19641 (comment)
d3a04c9
@jacknagel jacknagel referenced this issue from a commit
@DomT4 DomT4 couchdb: bump revision for icu4c
Looks like there's runtime issues again. CouchDB needs bumping
with each icu4c update that changes icu4c dylib versioning.

See: #19641 (comment)

Closes #39256.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ae9fe6e
@Noctem Noctem referenced this issue from a commit in Noctem/homebrew
@DomT4 DomT4 couchdb: bump revision for icu4c
Looks like there's runtime issues again. CouchDB needs bumping
with each icu4c update that changes icu4c dylib versioning.

See: Homebrew#19641 (comment)

Closes #39256.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
306d54f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.