[pylucene-dev] two different JCC modules in same VM; initVM()?

Andi Vajda vajda at osafoundation.org
Fri Mar 14 14:52:32 PDT 2008


On Wed, 12 Mar 2008, Bill Janssen wrote:

> Yeah, this seems to work OK.  Thanks!

I got setuptools to build the shared library on Mac OS X. I assume the same 
works on Linux but I haven't tried it yet. I also finally figured out how to 
use -rpath on Mac OS X. It seems to rely on the use of

    -install_name @rpath/libjcc.dylib

when linking libjcc.dylib.
The secret sauce the Mac OS X linker can be think at time :)

libjcc.dylib is now installed one level above _jcc.so, at the top level of 
the JCC egg. You need to rebuild JCC and your extenstions to try this out.

I'd be curious to know if this works as easily on Linux.
setuptools, and probably a recent one, is _required_ for this.

The default one installed on Mac OS X 10.5 works for this provided the 
Library is first in the list of extensions in setup.py.

This latest stuff is checked in to the jcc trunk.

Andi..


More information about the pylucene-dev mailing list