numpy.distutils.system_info fails to know about new multi-arch library paths /usr/lib/x86_64-linux-gnu and the like

Bug #877286 reported by Yves Delley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-numpy (Ubuntu)
New
Undecided
Unassigned

Bug Description

Building the "Enthought Tools Suite" componenent "Enable" fails on Ubuntu 11.10 (and possibly older ones) because numpy.distutils.system_info is unable to find the X11-library. The problem might generally hit any python source that relies on numpy's distutils to locate binary libraries for them.

I was able to solve it by using a custom "site.cfg" file, it could also be solved just as well by updating the default paths directly in numpy/distutils/system_info.py.

Note that in fact I was in fact using a custom built version of the python-numpy package. This was to in order to gain support of a custom built optimised ATLAS. For that I took the exact package sources via "apt-get source atlas python-numpy", built a custom atlas using "debian/rule custom" and then standard python-numpy using a modified site.cfg in order to include ATLAS. Therefore, I never tried to build ETS Enable without any site.cfg. However, upon inspection of the source-code of
numpy.distutils.system_info, I am quite confident that also without any site.cfg, the mutli-arch library directories are not found.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.