BIND 10 #149: auto detect libpython fails for netbsd and linux

BIND 10 Development do-not-reply at isc.org
Mon Apr 19 18:12:36 UTC 2010


#149: auto detect libpython fails for netbsd and linux
--------------------------+-------------------------------------------------
 Reporter:  jinmei        |       Owner:  jinmei
     Type:  defect        |      Status:  new   
 Priority:  minor         |   Milestone:        
Component:  Unclassified  |    Keywords:        
Sensitive:  0             |  
--------------------------+-------------------------------------------------
 We currently use the result of "python*-config --ldflags" to identify the
 necessary ldflag (specifically a -L option) to build bind10 with
 libpython.

 Unfortunately it didn't work (at least some flavor of) NetBSD and Linux.
 This can be worked around by specifying LDFLAGS by hand before performing
 ./configure, but it's not intuitive.

 There doesn't seem to be a perfect solution to this problem out there, but
 we could introduce one more hack: using `python*-config --prefix`/lib.
 From a quick check this worked for Linux.  Should also be the case for
 NetBSD.

-- 
Ticket URL: <http://bind10.isc.org/ticket/149>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list