Changes between Initial Version and Version 3 of Ticket #409


Ignore:
Timestamp:
11/11/09 20:52:37 (15 years ago)
Author:
Olly Betts
Comment:

The missing symbol is the method Xapian::Database::metadata_keys_begin:

$ echo _ZNK6Xapian8Database19metadata_keys_beginERKSs | c++filt
Xapian::Database::metadata_keys_begin(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const

This method was added in Xapian 1.0.9, so what this means is that you are trying to use xapian-bindings 1.0.16 (or 1.0.11) with xapian-core 1.0.8 or earlier - that's not a supported combination, and when you ran configure from xapian-bindings, you would have got a warning to this effect (it's not a hard error, as it will actually work unless a new symbol has been added, but we don't recommend it).

If you actually have a newer xapian-core installed (as well as the old one) you need to tell xapian-bindings where it is when you run its configure script, e.g.:

./configure XAPIAN_CONFIG=/usr/local/bin/xapian-config

So this isn't a bug in Xapian, hence closing as "invalid", which seems the most appropriate status we have for that.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #409

    • Property Cc nicolaslara@… added
    • Property Status newclosed
    • Property Resolutioninvalid
  • Ticket #409 – Description

    initial v3  
    33Trying to compile python bindings I get this error:
    44
     5{{{
    56/bin/sh ../libtool  --tag=CXX   --mode=link g++ -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -g -O2 -avoid-version -module -shrext ".so"   -o _xapian.la -rpath /usr/lib/python2.5/site-packages xapian_wrap.lo -L/usr/local/lib -lxapian -lstdc++
    67g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.3.2/crtbeginS.o  .libs/xapian_wrap.o  -L/usr/local/lib /usr/local/lib/libxapian.so -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.3.2/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crtn.o  -Wl,-soname -Wl,_xapian.so -o .libs/_xapian.so
     
    2021make[1]: Leaving directory `/root/fisica-couch/sources/lucene-alternatives/xapian/xapian-bindings-1.0.16/python'
    2122make: *** [all] Error 2
     23}}}