lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: using org.apache.jcc.PythonVM
Date Fri, 04 Mar 2011 20:35:05 GMT

On Fri, 4 Mar 2011, Bill Janssen wrote:

> Andi Vajda <vajda@apache.org> wrote:
>
>> On Mar 4, 2011, at 10:56, Bill Janssen <janssen@parc.com> wrote:
>>
>>> Andi Vajda <vajda@apache.org> 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..

Mime
View raw message