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 What's the solution? -Tom -- View this message in context: http://www.nabble.com/libgnuradio-core.so.0-tf4090... Sent from the GnuRadio mailing list archive at Nabble.com.
on 2007-07-16 21:19
on 2007-07-16 21:30
Did you follow the Ubuntu install guide? Whenever I follow it, after I've completely finished the guide I have to do a 'sudo ldconfig' Give it a shot. - George
on 2007-07-16 22:04
Thanks for the assistance. I am not using Ubuntu. Nonetheless, the problem is fixed. I edited bashrc. ie: towens@towens:~> vi .bashrc Then I added the line to bashrc : export LD_LIBRARY_PATH=/usr/local/lib towens@towens:~> source .bashrc Now it works. -Tom
on 2007-07-17 14:06
Tom Owens schrieb: > Thanks for the assistance. > > I am not using Ubuntu. What are you running? > 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 Strasser <patrick dot strasser at tugraz dot at> Student of Telematik, Techn. University Graz, Austria
on 2007-07-17 14:32
Patrick Strasser wrote: >> Nonetheless, the problem is fixed. > > Patrick > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -- View this message in context: http://www.nabble.com/libgnuradio-core.so.0-tf4090... Sent from the GnuRadio mailing list archive at Nabble.com.