[Xapian-tickets] [Xapian] #623: _xapian.so shoud link against libpythonX.X.so

Xapian nobody at xapian.org
Tue Jun 25 08:40:58 BST 2013


#623: _xapian.so shoud link against libpythonX.X.so
--------------------------------------+----------------------------
 Reporter:  lilydjwg                  |             Owner:  richard
     Type:  defect                    |            Status:  new
 Priority:  normal                    |         Milestone:
Component:  Xapian-bindings (Python)  |           Version:  1.3.1
 Severity:  normal                    |        Resolution:
 Keywords:                            |        Blocked By:
 Blocking:                            |  Operating System:  All
--------------------------------------+----------------------------

Comment (by lilydjwg):

 I'm on Arch Linux (64bit) and using a self-built Vim.

 (My) Vim `dlopen`s and `dlsym`s all the symbols from libpython* it needs.
 And on some platforms (e.g. Linux) it is possible to make symbols from two
 versions of Python not to conflict. AFAIK, Vim doesn't do anything special
 about how Python's C extensions link.

 I need this change to use the completion function from
 `pythoncomplete.vim` shipped with Vim.

 {{{
 $ python3.3-config --ldflags
 -lpthread -ldl -lutil -lm -lpython3.3m -Xlinker -export-dynamic
 $ python2-config --ldflags
 -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic
 }}}

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



More information about the Xapian-tickets mailing list