# Fedora Core x86\_64 lib problems

**URL:** <https://www.ruby-forum.com/t/fedora-core-x86-64-lib-problems/75082>\
**Category:** GNU Radio\
**Created:** [November 7, 2006, 12:05pm UTC](https://www.ruby-forum.com/t/fedora-core-x86-64-lib-problems/75082 "2006-11-07T12:05:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trond\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e0b2c6/32.png) [@Trond\_D](https://www.ruby-forum.com/u/Trond_D)\
**Post date:** [November 7, 2006, 12:05pm UTC](https://www.ruby-forum.com/t/fedora-core-x86-64-lib-problems/75082/1 "2006-11-07T12:05:21Z")

</div>

Hi everyone,

I have been looking into the problem with installing gnuradio on  
Fedora Core (FC) x86\_64, and just wanted to summarize what I found.  
For reference this mail is based on previous discussions in:  
[http://lists.gnu.org/archive/html/discuss-gnuradio/2006-07/msg00117.html](http://lists.gnu.org/archive/html/discuss-gnuradio/2006-07/msg00117.html)  
and  
[http://lists.gnu.org/archive/html/discuss-gnuradio/2006-11/msg00042.html](http://lists.gnu.org/archive/html/discuss-gnuradio/2006-11/msg00042.html)

1. On a x86\_64, FC installs arch-independent libraries into  
$PREFIX/lib/python2.4/site-packages, and arch-depended into  
$PREFIX/lib64/python2.4/site-packages, which is silly, because python  
does not support this. It has already been discussed on the python-dev  
mailing list  
([[Python-Dev] Problem with module loading on multi-arch?](http://mail.python.org/pipermail/python-dev/2006-March/062462.html)),  
but no solution has been found. There is also a bugreport in FC  
bugzilla ([185948 – module loading broken on multiarch](https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=185948)).  
The problem relates back to pythons module loading algorithm.

2. As mentioned earlier, the install path for python scripts are  
obtained from this automake macro: /usr/share/aclocal-1.9/python.m4. I  
copied the macro to the config directory in gnuradio, modified it to  
use the arch dependent path for both scripts and extension modules.  
This way both the scripts and the modules are installed in  
$PREFIX/lib64 on x86\_64. A patch for the aclocal file is included in  
this mail.

Hope someone might find this useful.
