[Xapian-discuss] Who can help me?I got a problem when I make ”Xapian-bindings“

李杨 gisyangli at gmail.com
Mon Apr 18 17:24:31 BST 2011

I am a beginer. And I want to try this searcher.
When I configure and building Xapian-bingdings,
I met this problem.

I type "make"
then got
some error info:

That appear like this:

jack at 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
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/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/../../../../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/../../../../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
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

Who Can Tell me what happens?

Thank U

More information about the Xapian-discuss mailing list