Getting gnuradio 3.6.5 working on Linux Mint 14

I can install gnuradio fine from the Mint repository - it works, but it
is
version 3.6.1. I want to use the rtlsdr stuff, so I need at least
version
3.6.4.

So, I de-installed 3.6.1 and used the build-gradio script to install
version 3.6.5. The script completes successfully. However, when I try
and
make the multimode.py example, I get this:

_mod = imp.load_module('_gnuradio_core_runtime', fp, pathname,

description)
ImportError: /usr/local/lib/libgnuradio-core-3.6.5.so.0.0.0: undefined
symbol: volk_64u_byteswap_u

Someone else had a similar problem a few months ago - there was no clear
resolution, though.

Any clues?

(PS - another data point - gnuradio-companion does not work either - it
complains that I’ve got PYTHONPATH or LD_LIBRARY_PATH wrong - not
guilty?)

On 06/22/2013 06:31 PM, Chris Adie wrote:

ImportError: /usr/local/lib/libgnuradio-core-3.6.5.so.0.0.0: undefined


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
Did you follow the suggestions for PYTHONPATH that are made at the end
of the script output?

What happens if you:

python -c “from gnuradio import gr”

If it errors, what is the complete trace output?

On 06/22/2013 06:31 PM, Chris Adie wrote:

ImportError: /usr/local/lib/libgnuradio-core-3.6.5.so.0.0.0: undefined
symbol: volk_64u_byteswap_u

Someone else had a similar problem a few months ago - there was no clear
resolution, though.

Any clues?

We have had issues with builds compling against installed headers. Try
removing installed volk hdrs in /usr/include and /usr/local/include
first.

Did you follow the suggestions for PYTHONPATH that are made at the end of the
script output?

Yep:

cja@cja-laptop ~ $ echo $PYTHONPATH
/usr/local/lib/python2.7/dist-packages

Also:

cja@cja-laptop ~ $ echo $LD_LIBRARY_PATH
/usr/local/lib

What happens if you:

python -c “from gnuradio import gr”

If it errors, what is the complete trace output?

cja@cja-laptop ~ $ python -c “from gnuradio import gr”
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python2.7/dist-packages/gnuradio/gr/init.py”,
line 27, in
from gnuradio_core import *
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core.py”,
line 23, in
from gnuradio_core_runtime import *
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 26, in
_gnuradio_core_runtime = swig_import_helper()
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 22, in swig_import_helper
_mod = imp.load_module(’_gnuradio_core_runtime’, fp, pathname,
description)
ImportError: /usr/local/lib/libgnuradio-core-3.6.5.so.0.0.0: undefined
symbol: volk_64u_byteswap_u

Chris

On 23 June 2013 02:55, Josh B. [email protected] wrote:


We have had issues with builds compling against installed headers. Try
removing installed volk hdrs in /usr/include and /usr/local/include first.

No volk headers anywhere in /usr/include. I removed the volk
directory from /usr/local/include and ran build-gnuradio again - it
re-created the /usr/local/include/volk directory and header files. I
still get the same error when making multimode. So I dont think it is
a problem with pre-installed volk headers.

Hmmm… interestingly in /usr/local/lib, libvolk.so points to
libvolk.so.0.0.0 - surely it should have a name like
libvolk-3.6.5.so.0.0.0 ?

Chris

On 06/23/2013 03:32 AM, Chris Adie wrote:

line 27, in
ImportError: /usr/local/lib/libgnuradio-core-3.6.5.so.0.0.0: undefined
symbol: volk_64u_byteswap_u

Chris


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

I would re-run build-gnuradio with --logfile

And go over the log with a fine-toothed comb to see if there was an
issue when building/installing VOLK.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium