CouchDB on Leopard: libicuuc error
Ok…this isn’t a blog about development, but since development is kind of my job I’m gonna put this here.
If you just tried upgrading your couchdb installation via MacPorts, you might have gotten this error when you restarted it:
$ Apache CouchDB 0.9.1 (LogLevel=info) is starting.
{"init terminating in do_boot","dlopen(/opt/local/lib/couchdb/erlang/lib/couch
0.9.1/priv/lib/couch_erl_driver.so, 2): Library not loaded:
/opt/local/lib/libicuuc.42.dylib Referenced from:
/opt/local/lib/couchdb/erlang/lib/couch-0.9.1/priv/lib/couch_erl_driver.so
Reason: image not found"}
That apparently is because of MacPorts also upgrades to an incompatible version of icu
Bullshit, I know. But here is the fix, at least for me:
$ sudo port activate icu @4.2.1_1
---> Deactivating icu @4.3.1_0
---> Activating icu @4.2.1_1