Attempting to run /gnuradio-3.0.3/gnuradio-examples/python/usrp>
./usrp_oscope.py and I get:
Traceback (most recent call last):
File “./usrp_oscope.py”, line 25, in ?
from gnuradio import gr, gru
File “/usr/local/lib/python2.4/site-packages/gnuradio/gr/init.py”,
line 27, in ?
from gnuradio_swig_python import *
File
“/usr/local/lib/python2.4/site-packages/gnuradio/gr/gnuradio_swig_python.py”,
line 4, in ?
import _gnuradio_swig_python
ImportError: libgnuradio-core.so.0: cannot open shared object file: No
such
file or directory
Now it works.
This is a workaround, not a proper solution. The Right Thing would be to
configure /etc/ld.so.conf to include /usr/local/lib and run ldconfig as
root.
Your workaround depends on per-user configuration and is quite fragile.
Patrick
Engineers motto: cheap, good, fast: choose any two
Patrick S.
Student of Telematik, Techn. University Graz, Austria