Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 48840 invoked from network); 18 May 2010 06:41:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 06:41:42 -0000 Received: (qmail 77745 invoked by uid 500); 18 May 2010 06:41:42 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 77666 invoked by uid 500); 18 May 2010 06:41:39 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 77658 invoked by uid 99); 18 May 2010 06:41:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 06:41:38 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [66.159.224.220] (HELO ovaltofu.org) (66.159.224.220) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 06:41:31 +0000 Received: from [192.168.0.4] ([192.168.0.4]) (authenticated bits=0) by ovaltofu.org (8.14.3/8.14.4) with ESMTP id o4I6f2Xl008959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 17 May 2010 23:41:04 -0700 (PDT) Date: Mon, 17 May 2010 23:42:52 -0700 (PDT) From: Andi Vajda X-X-Sender: vajda@yuzu.local Reply-To: Andi Vajda To: pylucene-dev@lucene.apache.org Subject: Re: Problems passing PyLucene objects to jcc-wrapped bobo-browse api In-Reply-To: Message-ID: References: <4BEAD7AF.5020504@semantics.de> <4BEC8E27.8010406@cheimes.de> User-Agent: Alpine 2.01 (OSX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org On Sun, 16 May 2010, Andi Vajda wrote: > > On Sun, 16 May 2010, Andi Vajda wrote: > >> >> On Sun, 16 May 2010, Andi Vajda wrote: >> >>> On Linux, there's got to be a way to make this work but I haven't found >>> how yet. I seem to be having trouble with linking to the Python Type >>> objects. On Windows, I expect this to be even more difficult. >> >> Adding a call to dlopen("_lucene.so", RTLD_NOW | RTLD_GLOBAL) solves the >> problem on Linux. I'm thinking of adding this to the initVM() call with an >> optional 'export=true/false' parameter... unless there is a better way to >> go about this. > > This is now implemented and checked into the branch_3x branch. And it now also works on Windows... Andi..