[Xapian-discuss] cygwin python binding build error

Matt Chen ceator at gmail.com
Sun Dec 28 16:38:55 GMT 2008


i'm trying to build xapian python-binding in cygwin, but i got some
errors message like this:

*** Warning: This system can not link to static lib archive
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.
ar cru .libs/_xapian.a .libs/xapian_wrap.o
ranlib .libs/_xapian.a
creating _xapian.la
(cd .libs && rm -f _xapian.la && ln -s ../_xapian.la _xapian.la)
cp `test -f modern/xapian.py || echo './'`modern/xapian.py .
/bin/sh ../libtool  --config > libtoolconfig.tmp
. ./libtoolconfig.tmp; cp $objdir/_xapian.dll .
cp: cannot stat `.libs/_xapian.dll': No such file or directory
make[4]: *** [_xapian.dll] Error 1
make[4]: Leaving directory `/opt/xapian-bindings-1.0.10/python'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/xapian-bindings-1.0.10/python'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/xapian-bindings-1.0.10/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/xapian-bindings-1.0.10'
make: *** [all] Error 2

does anyone know what the problem is ? thank you.


More information about the Xapian-discuss mailing list