On 3 Sep 2009, at 05:29, Justin Walgran wrote: > I can get CouchDB to build under Snow Leopard using the wiki > instructions ( > http://wiki.apache.org/couchdb/Installing_on_OSX) but a ./utils/run > spits > out the following: > > Apache CouchDB 0.11.0a810759 (LogLevel=info) is starting. > > =CRASH REPORT==== 2-Sep-2009::23:23:59 === > crasher: > pid: <0.29.0> > registered_name: [] > exception exit: {bad_return, > {{couch_app,start, > [normal, > ["/usr/local/etc/couchdb/default.ini", > "/usr/local/etc/couchdb/local.ini"]]}, > {'EXIT', > > "dlopen(/Users/jwalgran/Developer/couchdb/src/couchdb/.libs/ > couch_erl_driver.so, > 2): no suitable image found. Did > find:\n\t/Users/jwalgran/Developer/couchdb/src/couchdb/.libs/ > couch_erl_driver.so: > mach-o, but wrong architecture"}}} > in function application_master:init/4 > initial call: application_master:init/4 > ancestors: [<0.28.0>] > messages: [{'EXIT',<0.30.0>,normal}] > links: [<0.28.0>,<0.5.0>] > dictionary: [] > trap_exit: true > status: running > heap_size: 1597 > stack_size: 23 > reductions: 165 > neighbours: > > =INFO REPORT==== 2-Sep-2009::23:23:59 === > application: couch > exited: {bad_return,{{couch_app,start, > [normal, > ["/usr/local/etc/couchdb/ > default.ini", > "/usr/local/etc/couchdb/ > local.ini"]]}, > > {'EXIT',"dlopen(/Users/jwalgran/Developer/couchdb/src/couchdb/.libs/ > couch_erl_driver.so, > 2): no suitable image found. Did > find:\n\t/Users/jwalgran/Developer/couchdb/src/couchdb/.libs/ > couch_erl_driver.so: > mach-o, but wrong architecture"}}} > type: temporary > > > I assume this is a 32/64 bit issue. Is there a switch that needs to be > passed to configure? can you run otool -L /Users/jwalgran/Developer/couchdb/src/ couchdb/.libs/couch_erl_driver.so? Cheers Jan -- > > -Justin