Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 95237 invoked from network); 10 Jun 2009 17:04:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 17:04:26 -0000 Received: (qmail 69960 invoked by uid 500); 10 Jun 2009 17:04:37 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 69895 invoked by uid 500); 10 Jun 2009 17:04:37 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 69885 invoked by uid 99); 10 Jun 2009 17:04:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 17:04:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 17:04:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 55CCF234C004 for ; Wed, 10 Jun 2009 10:04:07 -0700 (PDT) Message-ID: <320542769.1244653447337.JavaMail.jira@brutus> Date: Wed, 10 Jun 2009 10:04:07 -0700 (PDT) From: "Noah Slater (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Closed: (COUCHDB-382) couch_erl_driver is 32bit even when the erlang beam is 64bit which results in couchdb crashing In-Reply-To: <72939534.1244645407527.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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 . > 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 > and Alexandre Duret-Lutz . > 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.