[sword-devel] 1.5.10RC4 available (Troy A. Griffitts)

Dale & Yvonne Ogilvie pnyli0002 at sneakemail.com
Sat Oct 13 03:16:45 MST 2007


Hello,

I'm having problems with the python swig bindings that work with 1.5.9. 
The binding builds and installs ok but gives an error in python.

[dale at gordon sword-python]$ python
Python 2.5.1 (r251:54863, Apr 19 2007, 11:03:39)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import Sword
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/Sword.py", line 7, in <module>
    import _Sword
ImportError: /usr/lib/python2.5/site-packages/_Sword.so: undefined 
symbol: _ZN5sword5SWMgr5debugE

I use the same method to build sword-python as for 1.5.9 here it is:

  cd $startdir/src/sword-${pkgver}RC4
  ./configure --prefix=/usr --sysconfdir=/etc --with-lucene --with-icu
  cd bindings/swig/package
  sed -i 's/1\.5\.[78]/1\.5\.10/g' configure.ac
  libtoolize --force
  ./autogen.sh
  ./configure --prefix=/usr --sysconfdir=/etc
  make pythonswig
  make python_make
  cd python
  python setup.py install --root=$startdir/pkg

Any pointers on how to make this work with 1.5.10?

Thanks!

Dale



More information about the sword-devel mailing list