Opened 13 years ago

Closed 13 years ago

#584 closed defect (notabug)

Bug in install Xapian-Bindings 1.2.8 in Python 2.7 (with alt install) in CentOS 5.5

Reported by: Fernando Owned by: Olly Betts
Priority: normal Milestone:
Component: Build system Version: 1.2.8
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: Linux

Description (last modified by Fernando)

Hello friends,

I want to install de Xapian in my server, for creating a search engine for a social network and i not had success in this install. I have running the command's:

./configure PYTHON=python2.7 --with-python
make
make install

And, at execute the command "make", the system show the report below:

make  all-recursive
make[1]: Entrando no diretório `/home/bitw/crieweb/xapian-bindings'
Making all in python
make[2]: Entrando no diretório `/home/bitw/crieweb/xapian-bindings/python'
make  all-am
make[3]: Entrando no diretório `/home/bitw/crieweb/xapian-bindings/python'
PYTHONPATH="xapian:$PYTHONPATH" /usr/local/bin/python2.7 -O -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__.pyo] Erro 1
make[3]: Saindo do diretório `/home/bitw/crieweb/xapian-bindings/python'
make[2]: ** [all] Erro 2
make[2]: Saindo do diretório `/home/bitw/crieweb/xapian-bindings/python'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/bitw/crieweb/xapian-bindings'
make: ** [all] Erro 2

(It's in portuguese because i'm a Brazilian user)

How to proceed in this case? Running "import _xapian" in Python's terminal it's show the message below:

Python 2.7.2 (default, Jan  1 2012, 22:39:33) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import _xapian
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named _xapian
>>>

How to proceed now?

PS: On running the "delve" command it's show the message below:

delve: error while loading shared libraries: libxapian.so.22: cannot open shared object file: No such file or directory

(i installed the xapian-core normally)

Change History (4)

comment:1 by Fernando, 13 years ago

Description: modified (diff)

comment:2 by Fernando, 13 years ago

Resolution: fixed
Status: newclosed

comment:3 by Olly Betts, 13 years ago

Resolution: fixed
Status: closedreopened

comment:4 by Olly Betts, 13 years ago

Milestone: 1.2.x
Resolution: notabug
Status: reopenedclosed

Was the issue was that xapian-core was installed with a prefix (probably /usr/local) which wasn't searched by the dynamic linker on your platform by default?

This isn't really a bug in Xapian, so marking as "notabug".

Note: See TracTickets for help on using tickets.