Forum: GNU Radio Errors after build attempts

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.
560222f7ecb927db495e89c48288d3cc?d=identicon&s=25 Daniel Hooper (Guest)
on 2008-10-25 12:15
(Received via mailing list)
I have been trying to build GNU Radio and get the USRP working all
night...
I had some success with the 3.0.x binary packages that come with Ubuntu
hardy, but was having some interesting problems getting the hardware to
cooperate.

I decided to get a more updated version. First I compiled from source,
following the directions here
http://gnuradio.org/trac/wiki/UbuntuInstalland here
http://gnuradio.org/trac/browser/gnuradio/trunk/RE... .
I was receiving an undefined symbol error.. something having to do with
boost or SWIG...

daniel@daniel-desktop:/usr/share/gnuradio/usrp$ ./usrp_tv_rcv.py
Traceback (most recent call last):
  File "./usrp_tv_rcv.py", line 12, in <module>
    from gnuradio import gr, gru, eng_notation, optfir
  File "/usr/local/lib/python2.5/site-packages/gnuradio/gr/__init__.py",
line 43, in <module>
    from gnuradio_swig_python import *
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py",
line 23, in <module>
    from gnuradio_swig_py_runtime import *
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py",
line 6, in <module>
    import _gnuradio_swig_py_runtime
ImportError:
/usr/local/lib/python2.5/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime.so:
undefined symbol:
_Z20gr_buffer_add_readerN5boost10shared_ptrI9gr_bufferEEiNS0_I8gr_blockEE


Next, I tried the stable release package, without boost. That resulted
in
the following:

daniel@daniel-desktop:/usr/share/gnuradio/usrp$ sudo ./usrp_tv_rcv.py
Traceback (most recent call last):
  File "./usrp_tv_rcv.py", line 12, in <module>
    from gnuradio import gr, gru, eng_notation, optfir
  File "/usr/local/lib/python2.5/site-packages/gnuradio/gr/__init__.py",
line 43, in <module>
    from gnuradio_swig_python import *
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py",
line 23, in <module>
    from gnuradio_swig_py_runtime import *
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py",
line 6, in <module>
    import _gnuradio_swig_py_runtime
ImportError: libgromnithread.so.0: cannot open shared object file: No
such
file or directory

Any ideas on either front? Besides re-installing the OS or going to a
different distro, my ideas are exhausted.

Thanks,
Dan
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2008-10-25 20:06
(Received via mailing list)
On Sat, Oct 25, 2008 at 05:13:48AM -0500, Daniel Hooper wrote:
> I have been trying to build GNU Radio and get the USRP working all night...
> I had some success with the 3.0.x binary packages that come with Ubuntu
> hardy, but was having some interesting problems getting the hardware to
> cooperate.

Be sure that you remove the old versions.

Then follow the instructions on the wiki.

Be sure to add /usr/local/lib to /etc/ld.so.conf and
then $ sudo ldconfig

Eric
This topic is locked and can not be replied to.