On Nov 15, 2008, at 23:30, "Brendan O'Connor" <[EMAIL PROTECTED]>  
wrote:

> On Sat, Nov 15, 2008 at 2:10 PM, Brendan O'Connor  
> <[EMAIL PROTECTED]> wrote:
> ...
>> I'm trying to follow the README's invocation of initVM()
>> but it segfaults:
>>
>> ~ % DYLD_LIBRARY_PATH=/opt/py26/lib/python2.6/site-packages/JCC-2.0- 
>> py2.6-macosx-10.3-i386.egg/
>> python
>> Python 2.6rc1 (r26rc1:66416, Sep 15 2008, 22:20:00)
>> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>> Type "help", "copyright", "credits" or "license" for more  
>> information.
>>>>> lucene.initVM(classpath=lucene.CLASSPATH)
>> [1]    10775 segmentation fault  DYLD_LIBRARY_PATH= python
>
> Oops, I fixed it myself -- sorry about that.  The problem was my own
> python wasn't a framework install, so libjcc.dylib was linking against
> the system python instead (while being installed into my python's
> site-packages/JCC.egg).
>
> I re-installed my python with --enable-framework and all is well --
> though I did still have to do that hack removing the "-Wl,-rpath"
> linking directive in jcc/python.py and using DYLD_LIBRARY_PATH to
> persuade _lucene.so to find libjcc.dylib.

Something's still off. You don't have to do this hack if you provide  
the right -F linker flag in JCC's LFLAGS.

Andi..


>
>
> Brendan
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev@osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to