couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tamas Nagy (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-382) couch_erl_driver is 32bit even when the erlang beam is 64bit which results in couchdb crashing
Date Wed, 10 Jun 2009 14:50:07 GMT
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 <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.

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.


Mime
View raw message