[ 
https://issues.apache.org/jira/browse/COUCHDB-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Noah Slater closed COUCHDB-382.
-------------------------------

    Resolution: Invalid

"You've probably built Erlang with the 64 bit option enabled. The problem is 
that ICU, which CouchDB attempts to load at startup time, has not been compiled 
with 64 bit support, so it can't be loaded into the 64bit Erlang process."

See http://wiki.apache.org/couchdb/Error_messages for more information.




> couch_erl_driver is 32bit even when the erlang beam is 64bit which results in 
> couchdb crashing
> ----------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-382
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-382
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 0.10
>         Environment: Mac OSX 10.5/MacBook2.1, 
> automake(default Mac one), 
> autoconf(default Mac one), 
> erlang R13B compiled from source with: /configure --prefix=/opt/erlang 
> --enable-threads --enable-smp-support --enable-kernel-poll 
> --enable-darwin-64bit
>            Reporter: Tamas Nagy
>            Priority: Minor
>
> Trunk 'make dev' (possibly the installation as well) couchdb startup fails 
> when beam is 64 bit because couch_erl_driver.so is 32bit.
> The error returned:
> $ utils/run
> Apache CouchDB 0.10.0a783287 (LogLevel=error) is starting.
> {"init terminating in 
> do_boot","dlopen(/Users/lestat/Projects/couchdb/src/couchdb/.libs/couch_erl_driver.so,
>  2): no suitable image found.  Did find:\n        
> /Users/lestat/Projects/couchdb/src/couchdb/.libs/couch_erl_driver.so: mach-o, 
> but wrong architecture"}
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot 
> (dlopen(/Users/lestat/Projects/couchdb/src/couchdb/.libs/couch_erl_driver.so, 
> 2): no suitable image found.  Did find:
>       /Users/lestat/Projects/couchdb/src/couchdb/.libs/co
> The file results:
> $file couch_erl_driver.so 
> couch_erl_driver.so: Mach-O bundle i386
> $file beam.smp 
> beam.smp: Mach-O 64-bit executable x86_64
> $ autoconf --version
> autoconf (GNU Autoconf) 2.61
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software.  You may redistribute copies of it under the terms of
> the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
> There is NO WARRANTY, to the extent permitted by law.
> Written by David J. MacKenzie and Akim Demaille.
> $ automake --version
> automake (GNU automake) 1.10
> Written by Tom Tromey <[email protected]>
>        and Alexandre Duret-Lutz <[email protected]>.
> Copyright 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to