[KinoSearch] undefined symbol: sb_stemmer_new
Marvin Humphrey
marvin at rectangular.com
Mon Jun 9 16:24:38 PDT 2008
On Mon, Jun 09, 2008 at 09:32:37PM +0100, Edward Betts wrote:
> /usr/bin/perl: symbol lookup error:
> /home/edward/src/kinosearch/perl/blib/arch/auto/KinoSearch/KinoSearch.so:
> undefined symbol: sb_stemmer_new
>
> Any ideas?
KinoSearch::Analysis::Stemmer is now using the Snowball C API directly, rather
than going through the Lingua::Stem::Snowball Perl interface. This should
speed up stemming, as there's less string copying going on.
However, in order to avoid adding the overhead of compiling the Snowball
library to KinoSearch's build cycle, right now SVN trunk counts on Dynaloader
to load Lingua::Stem::Snowball and its associated shared object before
Stemmer's constructor needs sb_stemmer_new().
This works on my main Mac OS X dev laptop, but I now see that the symbol isn't
resolving on my FreeBSD box even after Lingua::Stem::Snowball loads, just as it
isn't for you. I'm not exactly sure what's going on, but band-aiding a fix
isn't hard -- we can just revert to going through Perl for now. I'll try to
get to that this evening if a better solution doesn't present itself in the
interim.
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
More information about the kinosearch
mailing list