Libgnuradio-core.so.0

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-tf4090601.html#a11629198
Sent from the GnuRadio mailing list archive at Nabble.com.

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

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 S.
Student of Telematik, Techn. University Graz, Austria

Patrick S. 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-tf4090601.html#a11648358
Sent from the GnuRadio mailing list archive at Nabble.com.

Thanks for the assistance.

I am not using Ubuntu. Nonetheless, the problem is fixed.
I edited bashrc. ie:

[email protected]:~> vi .bashrc

Then I added the line to bashrc :
export LD_LIBRARY_PATH=/usr/local/lib

[email protected]:~> source .bashrc

Now it works.

-Tom