I 20something guy who moved to sucker free San Francisco from sweet home Chicago in May 2008...then I met a girl and moved to Copenhagen, Denmark. Then I came back to Chicago.

This is a chronicle of how I get down out here. It's almost entirely submitted via iPhone, so most of it is close to or in real time, which is comical in itself mostly nonsense.


Posts on: couchdb


Text

Sep 24, 2009
@ 7:54 pm
Permalink

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