I'm on Mac OS X (10.4) and I've built PyLucene 2.2.0 from source using gcc
3.4.4. The build seems to run correctly and the _PyLucene.so file is
created. However on trying to import in python, I get the following error:

Python 2.4.4 (#1, Jul  5 2007, 17:18:36)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyLucene
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "PyLucene.py", line 33, in ?
    from _PyLucene import *
ImportError: Inappropriate file type for dynamic loading

Anyone have an idea what the problem is?

Thanks
Oliver


This email (including any attached files) is confidential and is for the
intended recipient(s) only.  If you received this email by mistake,
please, as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the University of Southern Queensland.  Although all
reasonable precautions were taken to ensure that this email contained no
viruses at the time it was sent we accept no liability for any losses
arising from its receipt.

The University of Southern Queensland is a registered provider of
education with the Australian Government (CRICOS Institution Code No's.
QLD 00244B / NSW 02225M)


_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to