[Xapian-discuss] bindings - python module

gervin23 gervin23 at speedymail.org
Thu Sep 2 18:24:18 BST 2004


> > Hmm ... so it's installing in /usr/local/lib/python/site-packages/ ?
> > And putting two files, xapian.py and xapian there, and renaming the
> > latter to xapian.so makes it work ... ?
> 
> Presumably you mean renaming _xapian to _xapian.so?

exactly. it had originally installed _xapian.a, _xapian.la, _xapian, and
xapian.py to /usr/lib/python2.3/site-packages. then by renaming _xapian
to _xapian.so it worked.

> I think this is probably a problem with mismatching bits of libtool at
> bootstrap time.  I've seen the same problem sometimes - they renamed
> a shell variable which stores the shared library suffix so if the bits
> don't match you lose the ".so" (or whatever).  For actually linking to
> the library with libtool this generally doesn't seem to matter so
> "make check" passes.  So it's possible one of the releases was
> incorrectly bootstrapped.  Or perhaps andrew bootstrapped from CVS.
> 
> Andrew - which version of xapian-bindings are you using here?

i'm using 0.8.1.

> Cheers,
>     Olly



More information about the Xapian-discuss mailing list