Installation problem on 64-bit ubuntu intrepid


My system info:

uname -a
Linux user 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64

I have been using gnuradio/usrp on 32 bit ubuntu for a while, never have
problem with installation. Yesterday, I decided to switch to 64 bit
and install gnuradio follow the procedure what I did on 32 bit system.
Installation is smooth, and I can find usrp by

ls -lR /dev/bus/usb | grep usrp

But when I try to run /, I got the following error
File “”, line 30, in
from gnuradio import gr
File “/usr/local/lib/python2.5/site-packages/gnuradio/gr/”,
line 43, in
from gnuradio_swig_python import *
line 23, in
from gnuradio_swig_py_runtime import *
line 6, in
import _gnuradio_swig_py_runtime
ImportError: cannot open shared object file: No
such file or directory

Seems like library is missing, but I can loate
the library in /usr/local/lib/

Anyone has an idea how to fix the problem? Thanks a lot!

I have just upgraded to Ubuntu 8.10 on my 64-bit machine (a few weeks

Did you do this? (which is on the wiki):

Because Debian and Ubuntu apply a poorly implemented “enhancement” to
upstream version of libtool, they break the ability to test code and
libraries prior to installing them. We think that testing before
installation is a good idea. To work around their damage, be sure to
$PREFIX/lib (and $PREFIX/lib64 on 64-bit machines) in /etc/

If you don’t include $PREFIX/lib in /etc/, you will see errors
during the linking phase of the build. There are several places it shows
The first one is often during the build of mblocks. It’s not an mblock
problem. It’s a Debian/Ubuntu problem.

Do this to work around the “feature”:

cp /etc/ /tmp/
echo /usr/local/lib >> /tmp/
sudo mv /tmp/ /etc/
sudo ldconfig

Before enlightenment: chop wood, carry water
After enlightenment: code, build circuits