李杨
2011-Apr-18 16:24 UTC
[Xapian-discuss] Who can help me?I got a problem when I make ”Xapian-bindings“
Hi? 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 .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 Who Can Tell me what happens? Thank U