Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 17485 invoked from network); 4 Mar 2011 20:34:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 20:34:50 -0000 Received: (qmail 49940 invoked by uid 500); 4 Mar 2011 20:34:50 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 49919 invoked by uid 500); 4 Mar 2011 20:34:49 -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 49911 invoked by uid 99); 4 Mar 2011 20:34:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 20:34:49 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [173.228.80.32] (HELO ovaltofu.org) (173.228.80.32) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 20:34:45 +0000 Received: from [192.168.0.3] ([192.168.0.3]) (authenticated bits=0) by ovaltofu.org (8.14.4/8.14.4) with ESMTP id p24KYMII022972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 4 Mar 2011 12:34:22 -0800 (PST) Date: Fri, 4 Mar 2011 12:35:05 -0800 (PST) From: Andi Vajda X-X-Sender: vajda@yuzu.local Reply-To: Andi Vajda To: pylucene-dev@lucene.apache.org Subject: Re: using org.apache.jcc.PythonVM In-Reply-To: <99783.1299269533@parc.com> Message-ID: References: <68325.1299217840@parc.com> <6D3337C8-7B77-42AE-9300-0B904AB1D351@apache.org> <95789.1299262290@parc.com> <97806.1299264997@parc.com> <2E47BB72-DFB2-4270-AF4E-D7B344D60623@apache.org> <99783.1299269533@parc.com> User-Agent: Alpine 2.01 (OSX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Fri, 4 Mar 2011, Bill Janssen wrote: > Andi Vajda wrote: > >> On Mar 4, 2011, at 10:56, Bill Janssen wrote: >> >>> Andi Vajda wrote: >>> >>>> There are two shared libraries for jcc: _jcc.so, the python extension, >>>> and libjcc.so, the shared mode runtime shared library. That's the one >>>> that gets loaded by PythonVM.java. Its directory must be on java's >>>> java.library.path. >>> >>> No such beast gets built or installed: >> >> If you didn't patch setuptools on linux as prompted by the jcc build >> then you don't have shared mode enabled and no libjcc.so. Shared mode >> is required for embedding. > > I did patch setuptools, and as you can see below, the config.py says > "Shared=True", so I believe I have shared mode enabled. I'm certainly > using jcc with the "--shared" switch with no complaints. Something's off. libjcc.so is not shown in your list. You need to solve that mystery before embedding can proceed. Andi..