[Xapian-discuss] Compiling xapian-bindings-0.9.2 on OpenBSD 3.7
Olly Betts
olly at survex.com
Mon Sep 12 22:10:17 BST 2005
On Mon, Sep 12, 2005 at 11:04:57AM -0700, Pat Johnson wrote:
> /usr/local/bin/python: /usr/local/lib/libxapian.so.8.0: can't resolve reference '_ZTISi'
That's 'typeinfo for std::basic_istream<char, std::char_traits<char> >'.
> /usr/local/bin/python:/usr/local/lib/libxapian.so.8.0: undefined symbol '_ZNSsC1EPKcjRKSaIcE'
And that's 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(char const*, unsigned int,
std::allocator<char> const&)' - i.e. the constructor for std::string
(you can decode these by piping text containing them through 'c++filt').
Usually this sort of error results from mismatching C++ library
versions, so I'd suggest rebuilding xapian-core and then xapian-bindings
from scratch to make sure that's not the problem.
The only other thing I can think of off the top of my head is that
Python is either partly written in C++ (which I don't think is the case)
or is automatically loading another C++ extension and that this is
pulling in a different version of libstdc++ or something like that.
Cheers,
Olly
More information about the Xapian-discuss
mailing list