Python shared libraries installed to /usr/lib/ on x86_64 architecture

Hello everyone,

I am having the following problem on an x86_64 linux machine:

When I use the ZIP-release (currently, using configure&make)
from the GNUradio homepage to build GNUradio, the python shared
libraries always get installed to %{prefix}/lib/python…/ instead of
%{prefix}/lib64/python…/ as would be appropriate.

If I use the GIT release (currently 3.5.3git, using CMake), this is NOT
the case and the shared libraries get correctly installed to

So I did debug the problem and ended up at this commit:

It adds a logic to detect the python pyexecdir path, but does not do
this correctly. I have to mention, that I personally believe that AM
does all this correctly in the first place, no need for additional
logic. Anyways, in line 58 of /config/gr_python.m4 reads:
path = distutils.sysconfig.get_python_lib()
which is used for the pyexecdir variable later on.

This is clearly wrong, as the shared libraries installed are definitely
arch dependent. Hence, this the line should read (note the parameter
path = distutils.sysconfig.get_python_lib(1)

Best regards,

Dipl.-Ing. Joschi Brauchle, M.Sc.

Institute for Communications Engineering (LNT)
Technische Universitaet Muenchen (TUM)
80290 Munich, Germany

Tel (work): +49 89 289-23474
Fax (work): +49 89 289-23490
E-mail: [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs