求助,Configuring and building Xapian-bindings出错

软件和网站开发以及相关技术探讨
回复
gislogin
帖子: 1
注册时间: 2011-04-19 0:02
送出感谢: 0
接收感谢: 0

求助,Configuring and building Xapian-bindings出错

#1

帖子 gislogin » 2011-04-19 0:07

初学者,
配置一个开源的全文检索程序。

Xapian,
在make时,出现一下错误

jack@jack-desktop:~/SE/xapian-bindings-1.2.5$ make
make all-recursive
make[1]: 正在进入目录 `/home/jack/SE/xapian-bindings-1.2.5'
Making all in python
make[2]: 正在进入目录 `/home/jack/SE/xapian-bindings-1.2.5/python'
make all-am
make[3]: 正在进入目录 `/home/jack/SE/xapian-bindings-1.2.5/python'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c -o xapian_wrap.lo `test -f 'modern/xapian_wrap.cc' || echo './'`modern/xapian_wrap.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -I/usr/local/include -g -O2 -MT xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c modern/xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o
mv -f .deps/xapian_wrap.Tpo .deps/xapian_wrap.Plo
/bin/bash ../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.6/dist-packages/xapian xapian_wrap.lo -L/usr/local/lib -lxapian -lstdc++
libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/xapian_wrap.o -L/usr/local/lib /usr/local/lib/libxapian.so -lz -luuid -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o -O2 -Wl,-soname -Wl,_xapian.so -o .libs/_xapian.so
libtool: link: ( cd ".libs" && rm -f "_xapian.la" && ln -s "../_xapian.la" "_xapian.la" )
test -d xapian || mkdir xapian
cp `test -f modern/xapian.py || echo './'`modern/xapian.py xapian/__init__.py
test -d xapian || mkdir xapian
/bin/bash ../libtool --config > libtoolconfig.tmp
. ./libtoolconfig.tmp; cp $objdir/_xapian.so xapian
rm -f libtoolconfig.tmp
PYTHONPATH="xapian:$PYTHONPATH" /usr/bin/python -c "import _xapian"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: libxapian.so.22: cannot open shared object file: No such file or directory
make[3]: *** [xapian/__init__.pyc] 错误 1
make[3]:正在离开目录 `/home/jack/SE/xapian-bindings-1.2.5/python'
make[2]: *** [all] 错误 2
make[2]:正在离开目录 `/home/jack/SE/xapian-bindings-1.2.5/python'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/jack/SE/xapian-bindings-1.2.5'
make: *** [all] 错误 2


谁能帮我解答下。

或者是告诉我出现类似的问题应该到哪里去找答案?

谢谢!
levee
帖子: 3030
注册时间: 2009-10-03 23:31
送出感谢: 0
接收感谢: 13 次

Re: 求助,Configuring and building Xapian-bindings出错

#2

帖子 levee » 2011-04-19 2:16

ImportError: libxapian.so.22: cannot open shared object file: No such file or directory
应该是缺少了ibxapian.so.22这个库文件,./configure没有报错么?
回复

回到 “软件/网站开发”