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

Xapian nobody at xapian.org
Tue Jun 25 08:35: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 james):

 Note that on Ubuntu 13.04 the python library should be linked both for py2
 and py3:

 {{{
 user at ubuntu:~/nsfwcorp.com$ python3.3-config --ldflags
 -L/usr/lib/python3.3/config-3.3m-x86_64-linux-gnu -L/usr/lib -lpthread
 -ldl  -lutil -lm  -lpython3.3m -Xlinker -export-dynamic -Wl,-O1 -Wl
 ,-Bsymbolic-functions
 user at ubuntu:~/nsfwcorp.com$ python2.7-config --ldflags
 -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpthread -ldl
 -lutil -lm  -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-
 functions
 }}}

 However the Ubuntu-shipped build does *not* link `_xapian.so` with
 `libpythonX.X.so`, suggesting something isn't quite right with the way
 we're picking up those flags in at least that case…?

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



More information about the Xapian-tickets mailing list