All,
I think I am having a version problem. I followed the instructions from
the gnuradio and UHD Start page.
I download gnuradio using
$ git clone git://gnuradio.org/gnuradio
git branch --track next origin/next
git checkout next
And then I do the usual
./bootstrap
./configure
make
make check
sudo make install
sudo ldconfig
Everything goes fine and everything that I expect to get installed does,
but then as soon as I try to run something it breaks, see errors below.
I dug further, and I think I have a version problem. Both the version.sh
file in my gnuradio directory and the gnuradio-core.pc file in
/usr/local/lib/pkgconfig say the version in 3.4. But when I run
./configure it says the version is 3.3.1. As far as I know version 3.4
doesn’t exist yet. I have uninstalled and deleted everything and
reinstalled and the problem remains the same.
Anybody what the problem is?
TIA
Scott
sjohnston@ubunte:~/gnuradio$ cat version.sh
MAJOR_VERSION=3
API_COMPAT=4
MINOR_VERSION=git
MAINT_VERSION=
sjohnston@ubunte:/usr/local/
lib/pkgconfig$ cat gnuradio-core.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/gnuradio
guile_load_path=/usr/local/share/guile/site
Name: gnuradio-core
Description: GNU Software Radio toolkit
Requires: gruel fftw3f gsl
Version: 3.4git
Libs.private: -L/usr/lib -lboost_thread-mt -lboost_date_time-mt
Libs: -L${libdir} -lgnuradio-core
Cflags: -I/usr/include -pthread -I${includedir}
sjohnston@ubunte:~/gnuradio$ ./configure
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking target system type… x86_64-unknown-linux-gnu
checking for git… /usr/bin/git
checking existence of git version control directory… ok
checking git description of current commit… v3.3.1git-956-g501aa52b
configure: GNU Radio Release v3.3.1git-956-g501aa52b
I get the following problem when trying to run any gnuradio programs.
And when I try gnuradio-companion a gui pops up that says "can’t import
gnuradio, are your PYTHONPATH and LD_LIBRARY_PATH set correctly?
sjohnston@ubunte:~/gnuradio/
gnuradio-examples/python/pfb$ ./channelize.py --help
Traceback (most recent call last):
File “./channelize.py”, line 23, in
from gnuradio import gr, blks2
File “/usr/local/lib/python2.6/dist-packages/gnuradio/gr/init.py”,
line 43, in
from gnuradio_core import *
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core.py”,
line 23, in
from gnuradio_core_runtime import *
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 24, in
_gnuradio_core_runtime = swig_import_helper()
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 20, in swig_import_helper
_mod = imp.load_module(‘_gnuradio_core_runtime’, fp, pathname,
description)
ImportError: /usr/local/lib/libgnuradio-core-3.4git.so.0: undefined
symbol: _ZTIN5gruel12msg_accepterE
sjohnston@ubunte:~/gnuradio/gnuradio-examples/python/digital$
./benchmark_loopback.py --help
Traceback (most recent call last):
File “./benchmark_loopback.py”, line 23, in
from gnuradio import gr, gru, modulation_utils
File “/usr/local/lib/python2.6/dist-packages/gnuradio/gr/init.py”,
line 43, in
from gnuradio_core import *
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core.py”,
line 23, in
from gnuradio_core_runtime import *
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 24, in
_gnuradio_core_runtime = swig_import_helper()
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 20, in swig_import_helper
_mod = imp.load_module(‘_gnuradio_core_runtime’, fp, pathname,
description)
ImportError: /usr/local/lib/libgnuradio-core-3.4git.so.0: undefined
symbol: _ZTIN5gruel12msg_accepterE
Scott Johnston wrote:
Alexandru C. wrote:
directory. And I checked /etc/ld.so.conf and /usr/local/lib is in there.
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
–
Scott Johnston
MIT Lincoln Laboratory
244 Wood Street, Lexington, MA 02420-9108
(781) 981-8196
[email protected]