Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DDC739211 for ; Tue, 22 May 2012 23:20:41 +0000 (UTC) Received: (qmail 34201 invoked by uid 500); 22 May 2012 23:20:41 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 34176 invoked by uid 500); 22 May 2012 23:20:41 -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 34165 invoked by uid 99); 22 May 2012 23:20:41 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2012 23:20:41 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id EF6E6141822 for ; Tue, 22 May 2012 23:20:40 +0000 (UTC) Date: Tue, 22 May 2012 23:20:40 +0000 (UTC) From: "Dave Cottlehuber (JIRA)" To: dev@couchdb.apache.org Message-ID: <1784005985.9932.1337728840983.JavaMail.jiratomcat@issues-vm> In-Reply-To: <484945382.8348.1337700522186.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (COUCHDB-1482) Snappy NIF cannot be loaded on Windows 2008 R2 x64 Server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281301#comment-13281301 ] Dave Cottlehuber commented on COUCHDB-1482: ------------------------------------------- This is a more appropriate solution: +snappy_nif_la_CXXFLAGS += -EHsc - -Ox -Zi > Snappy NIF cannot be loaded on Windows 2008 R2 x64 Server > --------------------------------------------------------- > > Key: COUCHDB-1482 > URL: https://issues.apache.org/jira/browse/COUCHDB-1482 > Project: CouchDB > Issue Type: Bug > Components: Build System > Affects Versions: 1.2 > Environment: Windows 2008 R2 x64 Server but *not* any other Windows platform > Reporter: Dave Cottlehuber > Labels: windows > Fix For: 1.2.1 > > > Initially it looks like there is a difference in how Windows resolves DLL dependencies for the required C++ runtimes. The snappy NIF is the only one with included C++ code, and it depends on both debug & release DLLs. On W2008R2 server this prevents loading, but on Windows 7 it does not. > My eternal thanks go to Nick North for uncovering this gem. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira