[NumPy-Tickets] [NumPy] #1749: SOABI-problem with external libraries and python3.2

NumPy Trac numpy-tickets@scipy....
Thu Feb 24 08:52:30 CST 2011

#1749: SOABI-problem with external libraries and python3.2
 Reporter:  don.fanucci  |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  2.0.0   
Component:  Other        |     Version:  1.5.1   
 Keywords:               |  
 It seems that from python 3.2 and on,
 distutils.sysconfig.get_config_vars('SO') behaves differently than for
 python < 3.2.
 Before PEP3149 it returned '.so' (or, I guess, '.dll' under windows),
 while with version 3.2 of python, you'll get '.cpython-32m.so'.

 Since numpy is using get_config_vars('SO') to determine library filename
 extensions, numpy with python3.2 fails to properly find external libraries
 (i.e. liblapack.so, or libmkl_blabla.so, etc).

 As a workaround for this problem, I made some changes to the numpy
 distutils stuff (see attached patch). The patch seems to work* both on
 1.5.1 and latest git HEAD.

 *) at least in a "works for me" kind of way. :)

Ticket URL: <http://projects.scipy.org/numpy/ticket/1749>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list