[Xapian-discuss] bindings - python module
James Aylett
james-xapian at tartarus.org
Thu Sep 2 09:49:15 BST 2004
On Thu, Sep 02, 2004 at 02:17:51AM -0600, gervin23 wrote:
> i'm new to xapian and am just beginning to play around with the python
> bindings. first off, the example (simplesearch.py) i pulled from cvs
> didn't work complaining of not finding the _xapian module. after using
> strace, i noticed python trying to search for _xapian.so. the default
> xapian-bindings build produces _xapian (without the .so extension) so
> renaming it to _xapian.so fixes the problem. i didn't find this fix in
> the archives so apologies if this is a dupe.
Are you installing the bindings before trying this? The build system
leaves a minor mess of bits, and the easiest way to get the right bits
out cleanly is to install.
If you are installing, then libtool isn't getting suffixes right on
Gentoo, which would be unexpected, to say the least ...
James
--
/--------------------------------------------------------------------------\
James Aylett xapian.org
james at tartarus.org uncertaintydivision.org
More information about the Xapian-discuss
mailing list