Forum: GNU Radio libgnuradio-core.so.0

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
95883fa96ad193deced12cbad71af003?d=identicon&s=25 Tom O (Guest)
on 2007-07-16 21:19
(Received via mailing list)
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.
Ac73d95c8ccddff9ecae369bcb80a923?d=identicon&s=25 George Nychis (Guest)
on 2007-07-16 21:30
(Received via mailing list)
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
95883fa96ad193deced12cbad71af003?d=identicon&s=25 Tom Owens (Guest)
on 2007-07-16 22:04
(Received via mailing list)
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
3e5d1707dd5f4807ed9938d5c37b2649?d=identicon&s=25 Patrick Strasser (Guest)
on 2007-07-17 14:06
(Received via mailing list)
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
95883fa96ad193deced12cbad71af003?d=identicon&s=25 Tom O (Guest)
on 2007-07-17 14:32
(Received via mailing list)
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.
This topic is locked and can not be replied to.