[Xapian-tickets] [Xapian] #453: can not use xapian-compact to merge dbs
Xapian
nobody at xapian.org
Mon Mar 1 11:30:42 GMT 2010
#453: can not use xapian-compact to merge dbs
----------------------+-----------------------------------------------------
Reporter: elmo1349 | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Other | Version: 1.0.18
Severity: normal | Keywords:
Blockedby: | Platform: Linux
Blocking: |
----------------------+-----------------------------------------------------
Old description:
> xapian-compact db1 db2 output
> postlist: Reduced by 51.8981% 16952K (32664K -> 15712K)
> record: Reduced by 15.4246% 1424K (9232K -> 7808K)
> termlist: Reduced by 16.3145% 2656K (16280K -> 13624K)
> position: Reduced by 15.3489% 7936K (51704K -> 43768K)
> value: Reduced by 15.4618% 1232K (7968K -> 6736K)
> spelling ...xapian-compact: symbol lookup error: xapian-compact:
> undefined symbol: _ZNK10FlintTable12really_emptyEv
>
> And both db1 and db2 have not spelling/synonym table:
>
> xapian-check db1
> spelling:
> Lazily created, and not yet used.
>
> synonym:
> Lazily created, and not yet used.
New description:
{{{
xapian-compact db1 db2 output
postlist: Reduced by 51.8981% 16952K (32664K -> 15712K)
record: Reduced by 15.4246% 1424K (9232K -> 7808K)
termlist: Reduced by 16.3145% 2656K (16280K -> 13624K)
position: Reduced by 15.3489% 7936K (51704K -> 43768K)
value: Reduced by 15.4618% 1232K (7968K -> 6736K)
spelling ...xapian-compact: symbol lookup error: xapian-compact: undefined
symbol: _ZNK10FlintTable12really_emptyEv
}}}
And both db1 and db2 have not spelling/synonym table:
xapian-check db1
spelling:
Lazily created, and not yet used.
synonym:
Lazily created, and not yet used.
--
Comment(by olly):
This means you are picking up the shared library (libxapian.so on Linux)
from an older 1.0.x release. That symbol is an "internal to Xapian"
method which was added in 1.0.18, and is used by xapian-compact. So
you're running xapian-compact from 1.0.18 with libxapian.so from 1.0.17 or
earlier.
Try:
{{{
#!sh
which xapian-compact
ldd $(which xapian-compact)
}}}
If that doesn't make things clearer feel free to paste or attach the
output from those two commands here (if pasting, put 3 { on a line before
and 3 } on a line after so trac shows it nicely).
--
Ticket URL: <http://trac.xapian.org/ticket/453#comment:1>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list