You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Justin Walgran <jw...@gmail.com> on 2009/09/03 05:29:55 UTC

CouchDB build with Snow Leopard fails to start up - no suitable image found

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?

-Justin

Re: CouchDB build with Snow Leopard fails to start up - no suitable image found

Posted by Justin Walgran <jw...@gmail.com>.
It existed, but there must have been a permissions issue. sudo ./utils/run
got rid of that error but there is a new one. It appears there is a problem
loading a spidermonkey library. Is there a way I can completely scrub ICU,
erlang, spidermonkey, and couch out of my system and start from scratch?
$ sudo ./utils/run
Apache CouchDB 0.11.0a811576 (LogLevel=info) is starting.

=CRASH REPORT==== 4-Sep-2009::23:23:27 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.31.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): Library not loaded: Darwin_DBG.OBJ/libjs.dylib\n  Referenced from:
/Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so\n
 Reason: image not found"}}}
      in function  application_master:init/4
    ancestors: [<0.30.0>]
    messages: [{'EXIT',<0.32.0>,normal}]
    links: [<0.30.0>,<0.5.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1597
    stack_size: 24
    reductions: 210
  neighbours:

=INFO REPORT==== 4-Sep-2009::23:23:27 ===
    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): Library not loaded: Darwin_DBG.OBJ/libjs.dylib\n  Referenced from:
/Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so\n
 Reason: image not found"}}}
    type: temporary


On Fri, Sep 4, 2009 at 8:46 PM, Paul Davis <pa...@gmail.com>wrote:

> {{badmatch,{error,enoent}},
> [{couch_log,init,1},
> {gen_event,server_add_handler,4},
> {gen_event,handle_msg,5},
> {proc_lib,init_p_do_apply,3}]}}}
>
> Looks like the path to your log directory doesn't exist.
>
> Paul Davis
>
> On Fri, Sep 4, 2009 at 8:22 PM, Justin Walgran<jw...@gmail.com> wrote:
> > With some direction from Jan (thank you!) I did find that an old MacPorts
> > install of Erlang was preventing the newly built version of Erlang from
> > running. I cleared out MacPorts, rebuilt Erlang then rebuilt CouchDB from
> a
> > fresh checkout of the trunk. utils/run is still crashing out, but now
> there
> > is a new message. Any troubleshooting tips would be appreciated.
> > $ ./utils/run
> > Apache CouchDB 0.11.0a811576 (LogLevel=info) is starting.
> >
> > =CRASH REPORT==== 4-Sep-2009::20:17:46 ===
> >  crasher:
> >    initial call: couch_event_sup:init/1
> >    pid: <0.79.0>
> >    registered_name: []
> >    exception exit: {{badmatch,
> >                         {'EXIT',
> >                             {{badmatch,{error,enoent}},
> >                              [{couch_log,init,1},
> >                               {gen_event,server_add_handler,4},
> >                               {gen_event,handle_msg,5},
> >                               {proc_lib,init_p_do_apply,3}]}}},
> >                     [{couch_event_sup,init,1},
> >                      {gen_server,init_it,6},
> >                      {proc_lib,init_p_do_apply,3}]}
> >      in function  gen_server:init_it/6
> >    ancestors: [couch_primary_services,couch_server_sup,<0.32.0>]
> >    messages: []
> >    links: [<0.78.0>,<0.4.0>]
> >    dictionary: []
> >    trap_exit: false
> >    status: running
> >    heap_size: 377
> >    stack_size: 24
> >    reductions: 120
> >  neighbours:
> >
> > =SUPERVISOR REPORT==== 4-Sep-2009::20:17:46 ===
> >     Supervisor: {local,couch_primary_services}
> >     Context:    start_error
> >     Reason:     {{badmatch,{'EXIT',{{badmatch,{error,enoent}},
> >                                     [{couch_log,init,1},
> >                                      {gen_event,server_add_handler,4},
> >                                      {gen_event,handle_msg,5},
> >                                      {proc_lib,init_p_do_apply,3}]}}},
> >                  [{couch_event_sup,init,1},
> >                   {gen_server,init_it,6},
> >                   {proc_lib,init_p_do_apply,3}]}
> >     Offender:   [{pid,undefined},
> >                  {name,couch_log},
> >                  {mfa,{couch_log,start_link,[]}},
> >                  {restart_type,permanent},
> >                  {shutdown,brutal_kill},
> >                  {child_type,worker}]
> >
> >
> > =SUPERVISOR REPORT==== 4-Sep-2009::20:17:46 ===
> >     Supervisor: {local,couch_server_sup}
> >     Context:    start_error
> >     Reason:     shutdown
> >     Offender:   [{pid,undefined},
> >                  {name,couch_primary_services},
> >                  {mfa,{couch_server_sup,start_primary_services,[]}},
> >                  {restart_type,permanent},
> >                  {shutdown,infinity},
> >                  {child_type,supervisor}]
> >
> >
> > =CRASH REPORT==== 4-Sep-2009::20:17:46 ===
> >  crasher:
> >    initial call: application_master:init/4
> >    pid: <0.31.0>
> >    registered_name: []
> >    exception exit: {bad_return,
> >                        {{couch_app,start,
> >                             [normal,
> >                              ["/usr/local/etc/couchdb/default.ini",
> >                               "/usr/local/etc/couchdb/local.ini"]]},
> >                         {'EXIT',
> >                             {{badmatch,{error,shutdown}},
> >                              [{couch_server_sup,start_server,1},
> >                               {application_master,start_it_old,4}]}}}}
> >      in function  application_master:init/4
> >    ancestors: [<0.30.0>]
> >    messages: [{'EXIT',<0.32.0>,normal}]
> >    links: [<0.30.0>,<0.5.0>]
> >    dictionary: []
> >    trap_exit: true
> >    status: running
> >    heap_size: 987
> >    stack_size: 24
> >    reductions: 162
> >  neighbours:
> >
> > =INFO REPORT==== 4-Sep-2009::20:17:46 ===
> >    application: couch
> >    exited: {bad_return,{{couch_app,start,
> >                                    [normal,
> >
> ["/usr/local/etc/couchdb/default.ini",
> >
>  "/usr/local/etc/couchdb/local.ini"]]},
> >                         {'EXIT',{{badmatch,{error,shutdown}},
> >                                  [{couch_server_sup,start_server,1},
> >
> {application_master,start_it_old,4}]}}}}
> >    type: temporary
> >
> > -Justin
> >
> >
> >
> > On Thu, Sep 3, 2009 at 8:51 AM, Jan Lehnardt <ja...@apache.org> wrote:
> >
> >>
> >> On 3 Sep 2009, at 13:57, Justin Walgran wrote:
> >>
> >>  Thanks for the reply Jan. Here is the output of otool:
> >>>
> >>>
> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so:
> >>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version
> >>> 123.0.0)
> >>>
> >>
> >> That's good for starters, I forgot to ask for
> >>
> >> file
> >> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so
> >>
> >> as well, sorry :)
> >>
> >> Feel free to hop on #couchdb on irc.freenode.net for some more
> immediate
> >> help
> >>
> >> Cheers
> >> Jan
> >> --
> >>
> >>
> >>
> >>> -Justin
> >>>
> >>> On Thu, Sep 3, 2009 at 3:05 AM, Jan Lehnardt <ja...@apache.org> wrote:
> >>>
> >>>>
> >>>>
> >>>> can you run otool -L
> >>>>
> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so?
> >>>>
> >>>> Cheers
> >>>> Jan
> >>>> --
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>  -Justin
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>
> >
>

Re: CouchDB build with Snow Leopard fails to start up - no suitable image found

Posted by Paul Davis <pa...@gmail.com>.
{{badmatch,{error,enoent}},
[{couch_log,init,1},
{gen_event,server_add_handler,4},
{gen_event,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}}}

Looks like the path to your log directory doesn't exist.

Paul Davis

On Fri, Sep 4, 2009 at 8:22 PM, Justin Walgran<jw...@gmail.com> wrote:
> With some direction from Jan (thank you!) I did find that an old MacPorts
> install of Erlang was preventing the newly built version of Erlang from
> running. I cleared out MacPorts, rebuilt Erlang then rebuilt CouchDB from a
> fresh checkout of the trunk. utils/run is still crashing out, but now there
> is a new message. Any troubleshooting tips would be appreciated.
> $ ./utils/run
> Apache CouchDB 0.11.0a811576 (LogLevel=info) is starting.
>
> =CRASH REPORT==== 4-Sep-2009::20:17:46 ===
>  crasher:
>    initial call: couch_event_sup:init/1
>    pid: <0.79.0>
>    registered_name: []
>    exception exit: {{badmatch,
>                         {'EXIT',
>                             {{badmatch,{error,enoent}},
>                              [{couch_log,init,1},
>                               {gen_event,server_add_handler,4},
>                               {gen_event,handle_msg,5},
>                               {proc_lib,init_p_do_apply,3}]}}},
>                     [{couch_event_sup,init,1},
>                      {gen_server,init_it,6},
>                      {proc_lib,init_p_do_apply,3}]}
>      in function  gen_server:init_it/6
>    ancestors: [couch_primary_services,couch_server_sup,<0.32.0>]
>    messages: []
>    links: [<0.78.0>,<0.4.0>]
>    dictionary: []
>    trap_exit: false
>    status: running
>    heap_size: 377
>    stack_size: 24
>    reductions: 120
>  neighbours:
>
> =SUPERVISOR REPORT==== 4-Sep-2009::20:17:46 ===
>     Supervisor: {local,couch_primary_services}
>     Context:    start_error
>     Reason:     {{badmatch,{'EXIT',{{badmatch,{error,enoent}},
>                                     [{couch_log,init,1},
>                                      {gen_event,server_add_handler,4},
>                                      {gen_event,handle_msg,5},
>                                      {proc_lib,init_p_do_apply,3}]}}},
>                  [{couch_event_sup,init,1},
>                   {gen_server,init_it,6},
>                   {proc_lib,init_p_do_apply,3}]}
>     Offender:   [{pid,undefined},
>                  {name,couch_log},
>                  {mfa,{couch_log,start_link,[]}},
>                  {restart_type,permanent},
>                  {shutdown,brutal_kill},
>                  {child_type,worker}]
>
>
> =SUPERVISOR REPORT==== 4-Sep-2009::20:17:46 ===
>     Supervisor: {local,couch_server_sup}
>     Context:    start_error
>     Reason:     shutdown
>     Offender:   [{pid,undefined},
>                  {name,couch_primary_services},
>                  {mfa,{couch_server_sup,start_primary_services,[]}},
>                  {restart_type,permanent},
>                  {shutdown,infinity},
>                  {child_type,supervisor}]
>
>
> =CRASH REPORT==== 4-Sep-2009::20:17:46 ===
>  crasher:
>    initial call: application_master:init/4
>    pid: <0.31.0>
>    registered_name: []
>    exception exit: {bad_return,
>                        {{couch_app,start,
>                             [normal,
>                              ["/usr/local/etc/couchdb/default.ini",
>                               "/usr/local/etc/couchdb/local.ini"]]},
>                         {'EXIT',
>                             {{badmatch,{error,shutdown}},
>                              [{couch_server_sup,start_server,1},
>                               {application_master,start_it_old,4}]}}}}
>      in function  application_master:init/4
>    ancestors: [<0.30.0>]
>    messages: [{'EXIT',<0.32.0>,normal}]
>    links: [<0.30.0>,<0.5.0>]
>    dictionary: []
>    trap_exit: true
>    status: running
>    heap_size: 987
>    stack_size: 24
>    reductions: 162
>  neighbours:
>
> =INFO REPORT==== 4-Sep-2009::20:17:46 ===
>    application: couch
>    exited: {bad_return,{{couch_app,start,
>                                    [normal,
>                                     ["/usr/local/etc/couchdb/default.ini",
>                                      "/usr/local/etc/couchdb/local.ini"]]},
>                         {'EXIT',{{badmatch,{error,shutdown}},
>                                  [{couch_server_sup,start_server,1},
>                                   {application_master,start_it_old,4}]}}}}
>    type: temporary
>
> -Justin
>
>
>
> On Thu, Sep 3, 2009 at 8:51 AM, Jan Lehnardt <ja...@apache.org> wrote:
>
>>
>> On 3 Sep 2009, at 13:57, Justin Walgran wrote:
>>
>>  Thanks for the reply Jan. Here is the output of otool:
>>>
>>> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so:
>>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
>>> 123.0.0)
>>>
>>
>> That's good for starters, I forgot to ask for
>>
>> file
>> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so
>>
>> as well, sorry :)
>>
>> Feel free to hop on #couchdb on irc.freenode.net for some more immediate
>> help
>>
>> Cheers
>> Jan
>> --
>>
>>
>>
>>> -Justin
>>>
>>> On Thu, Sep 3, 2009 at 3:05 AM, Jan Lehnardt <ja...@apache.org> wrote:
>>>
>>>>
>>>>
>>>> can you run otool -L
>>>> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so?
>>>>
>>>> Cheers
>>>> Jan
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>  -Justin
>>>>>
>>>>>
>>>>
>>>>
>>
>

Re: CouchDB build with Snow Leopard fails to start up - no suitable image found

Posted by Justin Walgran <jw...@gmail.com>.
With some direction from Jan (thank you!) I did find that an old MacPorts
install of Erlang was preventing the newly built version of Erlang from
running. I cleared out MacPorts, rebuilt Erlang then rebuilt CouchDB from a
fresh checkout of the trunk. utils/run is still crashing out, but now there
is a new message. Any troubleshooting tips would be appreciated.
$ ./utils/run
Apache CouchDB 0.11.0a811576 (LogLevel=info) is starting.

=CRASH REPORT==== 4-Sep-2009::20:17:46 ===
  crasher:
    initial call: couch_event_sup:init/1
    pid: <0.79.0>
    registered_name: []
    exception exit: {{badmatch,
                         {'EXIT',
                             {{badmatch,{error,enoent}},
                              [{couch_log,init,1},
                               {gen_event,server_add_handler,4},
                               {gen_event,handle_msg,5},
                               {proc_lib,init_p_do_apply,3}]}}},
                     [{couch_event_sup,init,1},
                      {gen_server,init_it,6},
                      {proc_lib,init_p_do_apply,3}]}
      in function  gen_server:init_it/6
    ancestors: [couch_primary_services,couch_server_sup,<0.32.0>]
    messages: []
    links: [<0.78.0>,<0.4.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 377
    stack_size: 24
    reductions: 120
  neighbours:

=SUPERVISOR REPORT==== 4-Sep-2009::20:17:46 ===
     Supervisor: {local,couch_primary_services}
     Context:    start_error
     Reason:     {{badmatch,{'EXIT',{{badmatch,{error,enoent}},
                                     [{couch_log,init,1},
                                      {gen_event,server_add_handler,4},
                                      {gen_event,handle_msg,5},
                                      {proc_lib,init_p_do_apply,3}]}}},
                  [{couch_event_sup,init,1},
                   {gen_server,init_it,6},
                   {proc_lib,init_p_do_apply,3}]}
     Offender:   [{pid,undefined},
                  {name,couch_log},
                  {mfa,{couch_log,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,brutal_kill},
                  {child_type,worker}]


=SUPERVISOR REPORT==== 4-Sep-2009::20:17:46 ===
     Supervisor: {local,couch_server_sup}
     Context:    start_error
     Reason:     shutdown
     Offender:   [{pid,undefined},
                  {name,couch_primary_services},
                  {mfa,{couch_server_sup,start_primary_services,[]}},
                  {restart_type,permanent},
                  {shutdown,infinity},
                  {child_type,supervisor}]


=CRASH REPORT==== 4-Sep-2009::20:17:46 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.31.0>
    registered_name: []
    exception exit: {bad_return,
                        {{couch_app,start,
                             [normal,
                              ["/usr/local/etc/couchdb/default.ini",
                               "/usr/local/etc/couchdb/local.ini"]]},
                         {'EXIT',
                             {{badmatch,{error,shutdown}},
                              [{couch_server_sup,start_server,1},
                               {application_master,start_it_old,4}]}}}}
      in function  application_master:init/4
    ancestors: [<0.30.0>]
    messages: [{'EXIT',<0.32.0>,normal}]
    links: [<0.30.0>,<0.5.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 24
    reductions: 162
  neighbours:

=INFO REPORT==== 4-Sep-2009::20:17:46 ===
    application: couch
    exited: {bad_return,{{couch_app,start,
                                    [normal,
                                     ["/usr/local/etc/couchdb/default.ini",
                                      "/usr/local/etc/couchdb/local.ini"]]},
                         {'EXIT',{{badmatch,{error,shutdown}},
                                  [{couch_server_sup,start_server,1},
                                   {application_master,start_it_old,4}]}}}}
    type: temporary

-Justin



On Thu, Sep 3, 2009 at 8:51 AM, Jan Lehnardt <ja...@apache.org> wrote:

>
> On 3 Sep 2009, at 13:57, Justin Walgran wrote:
>
>  Thanks for the reply Jan. Here is the output of otool:
>>
>> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so:
>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
>> 123.0.0)
>>
>
> That's good for starters, I forgot to ask for
>
> file
> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so
>
> as well, sorry :)
>
> Feel free to hop on #couchdb on irc.freenode.net for some more immediate
> help
>
> Cheers
> Jan
> --
>
>
>
>> -Justin
>>
>> On Thu, Sep 3, 2009 at 3:05 AM, Jan Lehnardt <ja...@apache.org> wrote:
>>
>>>
>>>
>>> can you run otool -L
>>> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so?
>>>
>>> Cheers
>>> Jan
>>> --
>>>
>>>
>>>
>>>
>>>
>>>  -Justin
>>>>
>>>>
>>>
>>>
>

Re: CouchDB build with Snow Leopard fails to start up - no suitable image found

Posted by Jan Lehnardt <ja...@apache.org>.
On 3 Sep 2009, at 13:57, Justin Walgran wrote:

> Thanks for the reply Jan. Here is the output of otool:
>
> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/ 
> couch_erl_driver.so:
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
> version
> 123.0.0)

That's good for starters, I forgot to ask for

file /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/ 
couch_erl_driver.so

as well, sorry :)

Feel free to hop on #couchdb on irc.freenode.net for some more  
immediate help

Cheers
Jan
--

>
> -Justin
>
> On Thu, Sep 3, 2009 at 3:05 AM, Jan Lehnardt <ja...@apache.org> wrote:
>>
>>
>> can you run otool -L
>> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/ 
>> couch_erl_driver.so?
>>
>> Cheers
>> Jan
>> --
>>
>>
>>
>>
>>
>>> -Justin
>>>
>>
>>


Re: CouchDB build with Snow Leopard fails to start up - no suitable image found

Posted by Justin Walgran <jw...@gmail.com>.
Thanks for the reply Jan. Here is the output of otool:

/Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
123.0.0)

-Justin

On Thu, Sep 3, 2009 at 3:05 AM, Jan Lehnardt <ja...@apache.org> wrote:
>
>
> can you run otool -L
> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so?
>
> Cheers
> Jan
> --
>
>
>
>
>
>> -Justin
>>
>
>

Re: CouchDB build with Snow Leopard fails to start up - no suitable image found

Posted by Jan Lehnardt <ja...@apache.org>.
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