[Xapian-tickets] [Xapian] #591: Xapian-bindings/python; libs/_xapian.so - file not found

Xapian nobody at xapian.org
Thu Mar 22 01:59:10 GMT 2012


#591: Xapian-bindings/python; libs/_xapian.so - file not found
--------------------------------------+-------------------------------------
 Reporter:  framedbutton              |        Owner:  richard
     Type:  defect                    |       Status:  closed 
 Priority:  normal                    |    Milestone:         
Component:  Xapian-bindings (Python)  |      Version:  1.3.0  
 Severity:  major                     |   Resolution:  invalid
 Keywords:                            |    Blockedby:         
 Platform:  Linux                     |     Blocking:         
--------------------------------------+-------------------------------------
Changes (by olly):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Debugged this on IRC - for the benefit of people from the future finding
 this ticket via searches for the error message, here's what was going on:

 The problem turned out to be that the tree had been configured for python
 3.2, then xapian.la built, and then reconfigured for python 2.7.

 Python 3.2 names the shared object _xapian.cpython-32mu.so, which we do
 handle correctly.  But in this case, _xapian.la exists so we don't rebuild
 for python 2.7, and python 2.7 names the shared object _xapian.so, which
 doesn't exist.  Even if the name were the same, the object built for 3.2
 wouldn't work - a "make distclean" is needed before reconfiguring to
 return the tree to the freshly unpacked state, and that solved the problem
 in this case.

-- 
Ticket URL: <http://trac.xapian.org/ticket/591#comment:1>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list