[pylucene-dev] Re: experiences with --shared on Linux
Andi Vajda
vajda at osafoundation.org
Tue Mar 11 17:45:04 PDT 2008
On Tue, 11 Mar 2008, Bill Janssen wrote:
>> You can include that in the LFLAGS in JCC's setup.py.
>> (just like is done for libjava.so)
>
> That would be for use of JCC, but what *you* need to do is use it in
> the generation of the .so for JCC-generated extensions like
> _lucene.so, so that they know where to look for libjcc.so when they
> are loaded.
No, not just. These flags are built into JCC so that when it compiles your
extensions it uses them as well. This is in the file called config.py that
is generated and installed with JCC when it is built itself.
See /Library/Python/2.5/site-packages/JCC-1.8-py2.5-macosx-10.5-i386.egg/jcc/config.py
Andi..
More information about the pylucene-dev
mailing list